*{box-sizing: border-box;margin: 0;padding: 0;}

html, body, #root{
    height:100%;
    width: 100%; 
}

.hddn {
    display: none;
}


app{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    background-image: url('../img/oootk-bg.svg');
    background-size: cover;
    background-position: center;
}

#ldr001 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
}

#ldr001 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
}

#xfrm-xcont{
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    width: 400px;
    /*height: 370px;*/
}

.fixed-height{
    height: 370px;
}

#loader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9999;
}

#loader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
}


#frm-cont{
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    width: 400px;
    height: 370px;
    
}

.mn-logo-otk{
    height: 74px;
    width: 100%;
    text-align: center;
    padding: 24px 0;
}

.mn-frm{
    width: 100%;
}

.mn-frm h1, .mn-frm h2{
    font-family: sans-serif; 
    color: #444;
    text-align: center;
    margin-bottom: 10px;
}

.mn-frm h1{
    font-size: 1.5em;
}

.mn-frm h2{
    font-size: 0.9em;
    font-weight: normal;
}

.mn-frm form{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
}

.mn-frm input{
    width: 100%;
    height: 38px;
    border-radius: 4px;
    align-self: center;
    border: 0.5px solid #bbb;
    border-bottom: 0.5px solid #555;
    padding-left: 8px;
    color: #777;
}

.mn-frm form{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
}

.mn-frm form .inp-cont{
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-self: center;
}

.mn-frm a{
    font-family: sans-serif;
    color:  #0f6cbd;
    margin-top: 10px;
    font-size: 13px;
    text-decoration: none;
}

.mn-frm form .btn {
    width: 80%;
    height: 40px;
    background-color: #0f6cbd;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    align-self: center;
    margin-top: 30px;
}

.mn-frm p{
    font-family: sans-serif;
    color: #444;
    text-align: center;
    font-size: 12px;
    margin-top: 30px;
}
.mn-frm p a{
    font-size: 12px;
}

.mn-frm header{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.mn-frm .eml-lbl{
    border: 0.5px solid #aaa;
    width: fit-content;
    border-radius: 50px;
    padding: 5px 6px;
    color: #444;
    font-family: sans-serif;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 18px;
}

.mn-frm form#frm02{
    margin-top: 8px;
}

div#frm2 h1{
    font-size: 1.2em;
}

.msg2{
    display: none;
}

.hddn{
    display: none!important;
}

.muted{
    color: #e9763d;
    font-size: 13px;
    font-family: Roboto, Helvetica, sans-serif;
    margin-top: 4px;
    margin-bottom: 8px;
    display: none;
}


.frm-cont3{
    height: auto !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

.main3{
    height: fit-content!important;
}

.mn-frm-form3{
    margin-top: 8px!important;
}


@media  screen and (max-width:600px) {
    #frm-cont{
        zoom:90%
    }
}

@media  screen and (max-width:400px) {
    #frm-cont{
        zoom:80%
    }
}

.xmn-logo-xotk{
    height: 74px;
    width: 100%;
    text-align: center;
    padding: 24px 0;
}

.xmn-xfrm{
    width: 100%;
    padding-bottom: 12px;
}

.xmn-xfrm h1, .xmn-xfrm h2{
    font-family: sans-serif; 
    color: #414141;
    text-align: center;
    margin-bottom: 10px;
}

.xmn-xfrm h1{
    font-size: 1.5em;
}

.xmn-xfrm h2{
    font-size: 0.9em;
    font-weight: normal;
}

.xmn-xfrm form{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
}

.xmn-xfrm input{
    width: 100%;
    height: 38px;
    border-radius: 4px;
    align-self: center;
    border: 0.5px solid #b1b1b1;
    border-bottom: 0.5px solid #515151;
    padding-left: 8px;
    color: #717171;
}

.xmn-xfrm form{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
}

.xmn-xfrm form .inp-cont{
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-self: center;
}

.xmn-xfrm a{
    font-family: sans-serif;
    color:  #0f6cbe;
    margin-top: 10px;
    font-size: 13px;
    text-decoration: none;
}

.xmn-xfrm form .btn {
    width: 80%;
    height: 40px;
    background-color: #0f6cbe;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    align-self: center;
    margin-top: 30px;
}

.xmn-xfrm p{
    font-family: sans-serif;
    color: #414141;
    text-align: center;
    font-size: 12px;
    margin-top: 30px;
}
.xmn-xfrm p a{
    font-size: 12px;
}

.xmn-xfrm header{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.xmn-xfrm .eml-lbl{
    border: 0.5px solid #aaa;
    width: fit-content;
    border-radius: 50px;
    padding: 5px 6px;
    color: #414141;
    font-family: sans-serif;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 18px;
}

.xmn-xfrm form#frm02{
    margin-top: 8px;
}

div#frm2 h1{
    font-size: 1.2em;
}

.msg2{
    display: none;
}

.hddn{
    display: none!important;
}


#frm3, #frm4{ 
    height: 618px;
    background: #fff;
    border-radius: 10px;
    font-family: 'Segoe UI', Helvetica, Roboto, sans-serif;
    padding-top: 16px;

}
#frm4{
    height: 670px;
}


input::placeholder{
    color: #d1d1d1;
}

div.modal{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;

    display:none;
}

div.modal-open {
    display:block;
}

.modal-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    min-width: 300px;
    max-width: 400px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}


.modal-content .modal-header,
.modal-content .modal-body,
.modal-content .modal-footer{
    text-align: center;
}

.modal-content .modal-header{
    display: flex;
    justify-content: center;
}

.modal-content .modal-footer button{
    padding: 8px 14px;
    background-color: #0f4d8b !important;
    color: #fff;
    width: 134px !important;
    height: 30px;
    font-size: 10px;
    margin: 20px auto 10px;
    border: none;
    border-radius: 8px;
}

.modal-content .modal-body .icon-wrapper{
    text-align: center;
    border: 4px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.modal-content .modal-body .icon-wrapper i{
    font-size: 20px;
    color: #dc7535;
}



@media  screen and (max-width:600px) {
    #xfrm-xcont{
        zoom:90%
    }
}

@media  screen and (max-width:400px) {
    #xfrm-xcont{
        zoom:80%
    }
}

/* Estilos para el sistema de selfies */

/* Pantalla de bienvenida */
.selfie-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
}

.welcome-icon {
    margin: 30px 0 20px;
}

.selfie-welcome h1 {
    font-family: sans-serif;
    color: #1a1a1a;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-text {
    font-family: sans-serif;
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 320px;
}

#start-verification-btn {
    width: 85%;
    max-width: 300px;
    height: 45px;
    background-color: #0f6cbe;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    font-family: sans-serif;
    transition: background-color 0.3s;
}

#start-verification-btn:hover {
    background-color: #0d5ca8;
}

/* Pantalla de captura */
.selfie-capture {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.camera-header {
    width: 100%;
    background-color: #0f6cbe;
    color: white;
    padding: 15px;
    text-align: center;
}

.camera-header h2 {
    font-family: sans-serif;
    font-size: 1.1em;
    margin: 0;
    font-weight: 600;
    color: white;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 500px;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#camera-stream {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.face-oval {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 320px;
    border: 3px solid #e91e63;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

.instruction-box {
    width: 100%;
    background-color: #333;
    color: white;
    padding: 12px;
    text-align: center;
}

.instruction-box p {
    margin: 0;
    font-family: sans-serif;
    font-size: 0.9em;
    color: white;
}

.camera-controls {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.btn-capture {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.btn-capture:active {
    transform: scale(0.95);
}

.action-buttons {
    display: flex;
    gap: 10px;
    padding: 15px;
    width: 100%;
    justify-content: center;
}

.action-buttons .btn {
    width: 45%;
    max-width: 150px;
    height: 40px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    cursor: pointer;
    font-family: sans-serif;
    transition: background-color 0.3s;
}

.action-buttons .btn:not(.btn-secondary) {
    background-color: #0f6cbe;
    color: #fff;
}

.action-buttons .btn:not(.btn-secondary):hover {
    background-color: #0d5ca8;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

