/*=========================================================
  Portal de Facturación
  Archivo : style.css
  Versión : 1.0
=========================================================*/

/*=========================================================
    VARIABLES
=========================================================*/

:root{

    --primary:#1D324F;
    --primary-light:#274267;
    --primary-dark:#16263D;

    --secondary:#2C63D6;
    --secondary-hover:#1F53BF;

    --background:#EEF4FB;
    --background2:#E5EEF9;

    --card:#243A5A;
    --card2:#2E476B;

    --white:#FFFFFF;

    --text:#233247;
    --text-light:#5F718A;

    --border:#CFDAEA;

    --success:#17A673;
    --warning:#F0A500;
    --danger:#D73E3E;

    --shadow:
        0 8px 24px rgba(0,0,0,.08);

    --shadow-hover:
        0 14px 34px rgba(0,0,0,.15);

    --radius:18px;

    --transition:.25s ease;

}


/*=========================================================
RESET
=========================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;

    background:

    linear-gradient(
        180deg,
        #EEF4FB 0%,
        #DCE8F7 100%
    );

    color:var(--text);

    min-height:100vh;

}


/*=========================================================
SCROLL
=========================================================*/

::-webkit-scrollbar{

    width:11px;

}

::-webkit-scrollbar-track{

    background:#d9e4f4;

}

::-webkit-scrollbar-thumb{

    background:#5878a9;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#315182;

}


/*=========================================================
LINKS
=========================================================*/

a{

    text-decoration:none;

    color:inherit;

}


/*=========================================================
IMAGES
=========================================================*/

img{

    max-width:100%;

}


/*=========================================================
CONTAINER
=========================================================*/

.container{

    width:100%;

    max-width:1280px;

    margin:auto;

    padding:

    50px
    25px;

}


/*=========================================================
MAIN
=========================================================*/

main{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

}


/*=========================================================
CARD
=========================================================*/

.card{

    width:100%;

    max-width:650px;

    background:

    linear-gradient(
        180deg,
        var(--card),
        var(--card2)
    );

    border-radius:

    var(--radius);

    padding:

    45px;

    color:white;

    box-shadow:

    var(--shadow);

    transition:

    var(--transition);

}

.card:hover{

    transform:

    translateY(-3px);

    box-shadow:

    var(--shadow-hover);

}


/*=========================================================
HEADER
=========================================================*/

.header{

    text-align:center;

    margin-bottom:35px;

}

.logo{

    width:82px;

    height:82px;

    margin:auto;

    margin-bottom:18px;

    border-radius:50%;

    background:

    rgba(255,255,255,.10);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

}

.title{

    font-size:34px;

    font-weight:700;

    letter-spacing:.4px;

    margin-bottom:10px;

}

.subtitle{

    font-size:17px;

    opacity:.88;

    line-height:1.6;

}


/*=========================================================
SECTIONS
=========================================================*/

.section{

    margin-top:35px;

}


/*=========================================================
TEXT
=========================================================*/

.text-center{

    text-align:center;

}

.text-right{

    text-align:right;

}

.mt-10{

    margin-top:10px;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mt-40{

    margin-top:40px;

}

.mb-10{

    margin-bottom:10px;

}

.mb-20{

    margin-bottom:20px;

}

.mb-30{

    margin-bottom:30px;

}

.mb-40{

    margin-bottom:40px;

}


/*=========================================================
LABELS
=========================================================*/

label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    letter-spacing:.2px;

}


/*=========================================================
DIVIDER
=========================================================*/

.divider{

    width:100%;

    height:1px;

    background:

    rgba(255,255,255,.10);

    margin:

    30px 0;

}


/*=========================================================
FOOTER SIMPLE
=========================================================*/

.footer{

    text-align:center;

    font-size:14px;

    color:#d5dff0;

    margin-top:35px;

    line-height:1.8;

}


/*=========================================================
BADGES
=========================================================*/

.badge{

    display:inline-block;

    padding:

    8px
    18px;

    border-radius:30px;

    font-size:13px;

    background:

    rgba(255,255,255,.12);

}


/*=========================================================
FADE
=========================================================*/

.fade-in{

    animation:

    fadeIn .6s;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:

        translateY(20px);

    }

    to{

        opacity:1;

        transform:

        translateY(0);

    }

}


/*=========================================================
FLOAT
=========================================================*/

.float{

    animation:

    floating
    4s
    ease-in-out
    infinite;

}

@keyframes floating{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-6px);

    }

    100%{

        transform:translateY(0);

    }

}


/*=========================================================
FORMULARIOS
=========================================================*/

.form-group{

    margin-bottom:24px;

}

.input-group{

    position:relative;

    width:100%;

}

.input-icon{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    font-size:20px;

    color:#8fa4c4;

    pointer-events:none;

    transition:var(--transition);

}

.form-control{

    width:100%;

    height:58px;

    border-radius:14px;

    border:2px solid rgba(255,255,255,.18);

    background:rgba(255,255,255,.08);

    color:#FFF;

    font-size:18px;

    padding:0 18px 0 55px;

    outline:none;

    transition:var(--transition);

    letter-spacing:.4px;

}

.form-control::placeholder{

    color:rgba(255,255,255,.55);

}

.form-control:focus{

    border-color:#68A3FF;

    background:rgba(255,255,255,.14);

    box-shadow:0 0 0 4px rgba(68,131,255,.18);

}

.form-control:focus + .input-icon{

    color:#7EB1FF;

}

select.form-control{
    background:#243B55;
    color:#FFFFFF;
    cursor:pointer;
}

select.form-control option{
    background:#243B55;
    color:#FFFFFF;
}

.form-control:disabled{

    opacity:.65;

    cursor:not-allowed;

}


/*=========================================================
RFC MAYÚSCULAS
=========================================================*/

.uppercase{

    text-transform:uppercase;

}


/*=========================================================
ESTADOS INPUT
=========================================================*/

.input-success{

    border-color:var(--success)!important;

    box-shadow:0 0 0 4px rgba(23,166,115,.15);

}

.input-error{

    border-color:var(--danger)!important;

    box-shadow:0 0 0 4px rgba(215,62,62,.18);

}

.input-warning{

    border-color:var(--warning)!important;

}


/*=========================================================
HELP TEXT
=========================================================*/

.help{

    margin-top:8px;

    font-size:13px;

    color:#D8E5F9;

    opacity:.9;

}

.help.error{

    color:#FFB2B2;

}

.help.success{

    color:#8EF0C5;

}


/*=========================================================
BOTONES
=========================================================*/

.btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-size:18px;

    font-weight:700;

    transition:var(--transition);

    position:relative;

    overflow:hidden;

}

.btn:disabled{

    opacity:.55;

    cursor:not-allowed;

}

.btn-primary{

    background:

    linear-gradient(
        180deg,
        #3D7CFF,
        #235ED8
    );

    color:white;

}

.btn-primary:hover{

    transform:translateY(-2px);

    box-shadow:

    0 10px 25px rgba(45,99,214,.35);

}

.btn-primary:active{

    transform:scale(.98);

}

.btn-secondary{

    background:

    rgba(255,255,255,.08);

    border:2px solid rgba(255,255,255,.15);

    color:white;

}

.btn-secondary:hover{

    background:rgba(255,255,255,.15);

}


/*=========================================================
RIPPLE
=========================================================*/

.btn::after{

    content:"";

    position:absolute;

    width:0;

    height:0;

    border-radius:50%;

    background:rgba(255,255,255,.30);

    transform:translate(-50%,-50%);

    transition:.6s;

}

.btn:active::after{

    width:500px;

    height:500px;

}


/*=========================================================
BOTÓN SOPORTE
=========================================================*/

.btn-support{

    margin-top:18px;

    background:transparent;

    color:#FFF;

    border:2px solid rgba(255,255,255,.20);

}

.btn-support:hover{

    background:rgba(255,255,255,.10);

}


/*=========================================================
CAPTCHA
=========================================================*/

.captcha{

    margin:25px 0;

    display:flex;

    justify-content:center;

}

.g-recaptcha{

    transform-origin:center;

}


/*=========================================================
MENSAJES
=========================================================*/

.message{

    width:100%;

    border-radius:12px;

    padding:16px 20px;

    margin-top:20px;

    font-size:15px;

    display:none;

    line-height:1.6;

    animation:fadeIn .4s;

}

.message.show{

    display:block;

}

.message-success{

    background:rgba(23,166,115,.15);

    border-left:5px solid var(--success);

    color:#BFF2DA;

}

.message-error{

    background:rgba(215,62,62,.15);

    border-left:5px solid var(--danger);

    color:#FFD4D4;

}

.message-warning{

    background:rgba(240,165,0,.15);

    border-left:5px solid var(--warning);

    color:#FFE9AE;

}


/*=========================================================
SPINNER
=========================================================*/

.spinner{

    width:24px;

    height:24px;

    border-radius:50%;

    border:3px solid rgba(255,255,255,.30);

    border-top:3px solid white;

    animation:spin .9s linear infinite;

    display:inline-block;

    vertical-align:middle;

}

@keyframes spin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}


/*=========================================================
LOADER FULL
=========================================================*/

.loader{

    position:fixed;

    inset:0;

    background:rgba(15,27,45,.70);

    backdrop-filter:blur(4px);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loader.show{

    display:flex;

}

.loader-card{

    background:white;

    border-radius:18px;

    padding:40px;

    min-width:300px;

    text-align:center;

    color:#1D324F;

    box-shadow:0 15px 40px rgba(0,0,0,.20);

}

.loader-card .spinner{

    margin-bottom:18px;

    border-color:#D6E3F6;

    border-top-color:#2C63D6;

}

.loader-title{

    font-size:20px;

    font-weight:700;

    margin-bottom:8px;

}

.loader-text{

    color:#5E6E86;

    font-size:15px;

}


/*=========================================================
PROGRESS BAR
=========================================================*/

.progress{

    width:100%;

    height:8px;

    background:#DCE6F7;

    border-radius:20px;

    overflow:hidden;

    margin-top:20px;

}

.progress-bar{

    width:35%;

    height:100%;

    background:linear-gradient(
        90deg,
        #2C63D6,
        #7DAEFF
    );

    animation:progressMove 1.5s infinite;

}

@keyframes progressMove{

    0%{

        margin-left:-40%;

    }

    100%{

        margin-left:110%;

    }

}


/*=========================================================
TOAST NOTIFICATIONS
=========================================================*/

.toast-container{

    position:fixed;

    top:25px;

    right:25px;

    z-index:999999;

    display:flex;

    flex-direction:column;

    gap:15px;

}

.toast{

    min-width:320px;

    max-width:420px;

    padding:18px 22px;

    border-radius:16px;

    color:#FFF;

    box-shadow:0 15px 40px rgba(0,0,0,.20);

    animation:toastIn .35s ease;

    position:relative;

    overflow:hidden;

}

.toast::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:rgba(255,255,255,.45);

}

.toast-success{

    background:#17A673;

}

.toast-error{

    background:#D73E3E;

}

.toast-warning{

    background:#F0A500;

}

.toast-info{

    background:#2C63D6;

}

.toast-title{

    font-size:17px;

    font-weight:700;

    margin-bottom:6px;

}

.toast-text{

    font-size:14px;

    line-height:1.6;

}

@keyframes toastIn{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes toastOut{

    from{

        opacity:1;

    }

    to{

        opacity:0;

        transform:translateX(60px);

    }

}


/*=========================================================
MODAL
=========================================================*/

.modal{

    position:fixed;

    inset:0;

    background:rgba(10,20,35,.65);

    backdrop-filter:blur(6px);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99998;

}

.modal.show{

    display:flex;

}

.modal-box{

    width:95%;

    max-width:520px;

    background:#FFF;

    border-radius:20px;

    overflow:hidden;

    animation:modalShow .35s;

    box-shadow:0 20px 50px rgba(0,0,0,.30);

}

.modal-header{

    background:var(--primary);

    color:#FFF;

    padding:22px;

    font-size:22px;

    font-weight:700;

}

.modal-body{

    padding:30px;

    color:#30445E;

    line-height:1.8;

    font-size:16px;

}

.modal-footer{

    padding:22px;

    text-align:right;

    background:#F6F9FD;

}

@keyframes modalShow{

    from{

        transform:scale(.85);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}


/*=========================================================
BADGES
=========================================================*/

.badge-success{

    background:var(--success);

    color:#FFF;

}

.badge-danger{

    background:var(--danger);

    color:#FFF;

}

.badge-warning{

    background:var(--warning);

    color:#FFF;

}

.badge-info{

    background:var(--secondary);

    color:#FFF;

}


/*=========================================================
CARDS
=========================================================*/

.info-card{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.10);

    border-radius:18px;

    padding:22px;

    transition:.25s;

}

.info-card:hover{

    transform:translateY(-3px);

    background:rgba(255,255,255,.12);

}

.info-title{

    color:#FFF;

    font-size:18px;

    font-weight:700;

    margin-bottom:10px;

}

.info-text{

    color:#E6EEF9;

    line-height:1.8;

    font-size:15px;

}


/*=========================================================
TABLE
=========================================================*/

.table{

    width:100%;

    border-collapse:collapse;

}

.table th{

    background:var(--primary);

    color:#FFF;

    padding:14px;

}

.table td{

    padding:14px;

    border-bottom:1px solid #E2E8F4;

}

.table tr:hover{

    background:#F6F9FE;

}


/*=========================================================
TOOLTIP
=========================================================*/

.tooltip{

    position:relative;

}

.tooltip:hover::after{

    content:attr(data-title);

    position:absolute;

    bottom:120%;

    left:50%;

    transform:translateX(-50%);

    background:#233247;

    color:#FFF;

    padding:8px 12px;

    border-radius:8px;

    font-size:13px;

    white-space:nowrap;

}


/*=========================================================
ICON BOX
=========================================================*/

.icon-circle{

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.10);

    font-size:28px;

    margin:auto;

}


/*=========================================================
ANIMACIONES
=========================================================*/

@keyframes pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.05);

    }

    100%{

        transform:scale(1);

    }

}

.pulse{

    animation:pulse 2s infinite;

}

@keyframes shake{

    0%{transform:translateX(0);}
    20%{transform:translateX(-6px);}
    40%{transform:translateX(6px);}
    60%{transform:translateX(-5px);}
    80%{transform:translateX(5px);}
    100%{transform:translateX(0);}

}

.shake{

    animation:shake .45s;

}

@keyframes bounce{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

}

.bounce{

    animation:bounce 1.8s infinite;

}


/*=========================================================
UTILIDADES
=========================================================*/

.hidden{

    display:none!important;

}

.flex{

    display:flex;

}

.flex-center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.flex-between{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.w-100{

    width:100%;

}

.rounded{

    border-radius:16px;

}

.shadow{

    box-shadow:var(--shadow);

}

.shadow-hover:hover{

    box-shadow:var(--shadow-hover);

}

.text-white{

    color:#FFF;

}

.text-primary{

    color:var(--primary);

}

.text-success{

    color:var(--success);

}

.text-danger{

    color:var(--danger);

}

.text-warning{

    color:var(--warning);

}


/*=========================================================
SEPARADORES
=========================================================*/

.hr{

    width:100%;

    height:1px;

    background:rgba(255,255,255,.12);

    margin:28px 0;

}


/*=========================================================
FOOTER
=========================================================*/

.footer{

    margin-top:35px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.12);

    text-align:center;

    color:#D5DFF0;

    font-size:14px;

}

.footer strong{

    color:#FFF;

}


/*=========================================================
LOGO PLACEHOLDER
=========================================================*/

.logo-placeholder{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:linear-gradient(
        180deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,.08)
    );

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    color:#FFF;

    box-shadow:0 8px 25px rgba(0,0,0,.20);

}


/*=========================================================
RESPONSIVE
=========================================================*/

@media (max-width:1200px){

    .container{

        max-width:1000px;

    }

}

@media (max-width:992px){

    .container{

        padding:35px 20px;

    }

    .card{

        max-width:700px;

        padding:35px;

    }

    .title{

        font-size:30px;

    }

}

@media (max-width:768px){

    body{

        font-size:16px;

    }

    .container{

        padding:20px 15px;

    }

    main{

        min-height:auto;

        padding:25px 0;

    }

    .card{

        width:100%;

        padding:28px 22px;

        border-radius:18px;

    }

    .title{

        font-size:28px;

    }

    .subtitle{

        font-size:15px;

    }

    .logo,
    .logo-placeholder{

        width:70px;

        height:70px;

        font-size:30px;

    }

    .form-control{

        height:56px;

        font-size:17px;

    }

    .btn{

        height:56px;

        font-size:17px;

    }

    .toast-container{

        right:12px;

        left:12px;

        top:12px;

    }

    .toast{

        min-width:100%;

        max-width:100%;

    }

    .modal-box{

        width:96%;

    }

}

@media (max-width:480px){

    .container{

        padding:15px 12px;

    }

    .card{

        padding:22px 18px;

        border-radius:16px;

    }

    .title{

        font-size:24px;

        line-height:1.3;

    }

    .subtitle{

        font-size:14px;

    }

    .form-control{

        height:54px;

        font-size:16px;

        padding-left:50px;

    }

    .input-icon{

        left:15px;

        font-size:18px;

    }

    .btn{

        height:54px;

        font-size:16px;

    }

    .loader-card{

        width:92%;

        min-width:unset;

        padding:28px 22px;

    }

    .loader-title{

        font-size:18px;

    }

    .loader-text{

        font-size:14px;

    }

    .modal-header{

        font-size:20px;

        padding:18px;

    }

    .modal-body{

        padding:22px;

        font-size:15px;

    }

}


/*=========================================================
TABLAS RESPONSIVE
=========================================================*/

.table-responsive{

    width:100%;

    overflow-x:auto;

    border-radius:14px;

}


/*=========================================================
FOCUS ACCESIBILIDAD
=========================================================*/

button:focus,
input:focus,
textarea:focus,
select:focus{

    outline:none;

}

button:focus-visible,
input:focus-visible{

    box-shadow:
    0 0 0 4px rgba(72,132,255,.20);

}


/*=========================================================
SELECCIÓN
=========================================================*/

::selection{

    background:#2C63D6;

    color:#FFF;

}

::-moz-selection{

    background:#2C63D6;

    color:#FFF;

}


/*=========================================================
PLACEHOLDER
=========================================================*/

::placeholder{

    opacity:1;

}


/*=========================================================
TRANSICIONES
=========================================================*/

button,
input,
textarea,
select,
.card,
.info-card,
.toast,
.modal-box{

    transition:all .25s ease;

}


/*=========================================================
CURSOR
=========================================================*/

button{

    cursor:pointer;

}


/*=========================================================
ESPACIADOS
=========================================================*/

.p-5{padding:5px;}
.p-10{padding:10px;}
.p-15{padding:15px;}
.p-20{padding:20px;}
.p-30{padding:30px;}

.m-5{margin:5px;}
.m-10{margin:10px;}
.m-15{margin:15px;}
.m-20{margin:20px;}

.pt-10{padding-top:10px;}
.pt-20{padding-top:20px;}
.pt-30{padding-top:30px;}

.pb-10{padding-bottom:10px;}
.pb-20{padding-bottom:20px;}
.pb-30{padding-bottom:30px;}

.ml-auto{

    margin-left:auto;

}

.mr-auto{

    margin-right:auto;

}


/*=========================================================
ANCHOS
=========================================================*/

.w-25{

    width:25%;

}

.w-50{

    width:50%;

}

.w-75{

    width:75%;

}

.w-100{

    width:100%;

}


/*=========================================================
ALTURAS
=========================================================*/

.h-100{

    height:100%;

}


/*=========================================================
DISPLAY
=========================================================*/

.d-none{

    display:none!important;

}

.d-block{

    display:block!important;

}

.d-inline{

    display:inline-block!important;

}


/*=========================================================
OPACIDAD
=========================================================*/

.opacity-0{

    opacity:0;

}

.opacity-25{

    opacity:.25;

}

.opacity-50{

    opacity:.5;

}

.opacity-75{

    opacity:.75;

}

.opacity-100{

    opacity:1;

}


/*=========================================================
BORDES
=========================================================*/

.border{

    border:1px solid var(--border);

}

.border-top{

    border-top:1px solid var(--border);

}

.border-bottom{

    border-bottom:1px solid var(--border);

}


/*=========================================================
SOMBRAS
=========================================================*/

.shadow-sm{

    box-shadow:
    0 4px 12px rgba(0,0,0,.08);

}

.shadow-lg{

    box-shadow:
    0 18px 40px rgba(0,0,0,.18);

}


/*=========================================================
PRINT
=========================================================*/

@media print{

    body{

        background:white;

    }

    .btn,
    .loader,
    .toast-container,
    .modal{

        display:none!important;

    }

    .card{

        box-shadow:none;

        border:1px solid #DDD;

        color:black;

        background:white;

    }

}


/*=========================================================
PREFERENCIAS DEL SISTEMA
=========================================================*/

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{

        animation:none!important;

        transition:none!important;

        scroll-behavior:auto!important;

    }

}


/*=========================================================
FIN DEL ARCHIVO
=========================================================*/





