﻿@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

body {
    overflow-x: hidden;
    overflow-y: scroll;
}

.EstiloFondoSeguridad {
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 70%), linear-gradient(135deg, #F5F5F5 0%, #EEF9FC 25%, #E1F5FE 50%, #E6F6F4 75%, #E0F2F1 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    transition: background 0.5s ease-in-out;
}

.EstiloFondoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.EstiloPnlTítulos {
    background: #4EC3E4;
    z-index: 0;
}

.EstiloFuenteTítulo {
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 20pt;
    text-align: left;
    margin-left: 1px;
    z-index: 0;
}

.EstiloFuenteSubTítulo {
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 12pt;
    text-align: left;
    margin-left: 1px;
    z-index: 0;
}

.EstiloPnlModal {
    background-color: white;
    width: 450px;
    height: 200px;
    position: absolute;
    box-shadow: 2px 2px 7px DimGray;
}

.EstiloPnlControles {
    background-color: white;
    border-color: #cccccc;
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 0;
}

.EstiloPnlListado {
    background-color: white;
    border-color: #4EC3E4;
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    box-shadow: 0 0 7px 1px #cccccc;
    overflow: auto;
    z-index: 0;
}

.EstiloPnlTítuloModal {
    background-color: #4EC3E4;
    border: 2px solid #CCC;
    color: white;
    font-family: 10.3pt;
    font-weight: 400;
    font-family: 'Sora', sans-serif;
    text-align: left;
    width: 100%;
    height: 35px;
    z-index: 0;
}

.EstiloTiempo {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #f0f0f0;
    color: dimgray;
    padding: 8px 8px;
    border-radius: 20px;
    font-family: 'Sora', sans-serif;
    font-size: 10.5pt;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1000;
}

    .EstiloTiempo .Icono {
        font-size: 14pt;
    }

.EstiloSugerencias {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    padding: 4px 0;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
    z-index: 9999;
    display: none;
}

    .EstiloSugerencias div {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        font-size: 10.3pt;
        font-family: 'Sora', sans-serif;
        cursor: pointer;
        transition: background 0.12s ease-in-out;
    }

        .EstiloSugerencias div:hover,
        .EstiloSugerencias .selected {
            background: #f2faff;
        }

    .EstiloSugerencias i {
        color: #4a90e2;
        font-size: 16px;
    }

    .EstiloSugerencias::-webkit-scrollbar {
        width: 6px;
    }

    .EstiloSugerencias::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

.EstiloContraseña {
    position: relative;
    display: flex;
    align-items: center;
}

    .EstiloContraseña .EstiloTxt {
        flex: 1;
        padding-right: 40px;
        text-align: center;
    }

    .EstiloContraseña i {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #666;
        font-size: 18px;
        transition: color 0.2s ease-in-out;
    }

        .EstiloContraseña i:hover {
            color: #000;
        }

.BtnIngresar {
    border: 1px solid #4EC3E4;
    cursor: pointer;
    height: 32px;
    width: 100px;
    background-color: #4EC3E4;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: white;
    transition: all 0.2s ease, transform 0.3s;
    border-radius: 8px;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .BtnIngresar.Cargando {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E %3Ccircle cx='50' cy='50' r='14' stroke='%23ffffff' stroke-width='4' fill='none' stroke-dasharray='30' stroke-linecap='round'%3E %3CanimateTransform attributeName='transform' type='rotate' from='0 50 50' to='360 50 50' dur='0.7s' repeatCount='indefinite'/%3E %3C/circle%3E %3Ccircle cx='50' cy='50' r='20' stroke='%23ffffff' stroke-width='2' fill='none' opacity='0.3'/%3E %3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 45px 45px;
        color: transparent !important;
        cursor: wait;
        text-align: center;
        padding: 0;
        opacity: 0.95;
        box-shadow: inset 0 0 8px rgba(255,255,255,0.2);
        animation: fadeIn 0.3s ease-in;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 0.95;
        transform: scale(1);
    }
}


.EstiloLbl {
    height: 20px;
    font-family: 'Sora', sans-serif;
    font-size: 10.3pt;
    color: dimgray;
    font-weight: 400;
    z-index: 0;
}

.EstiloTxt {
    background-color: white;
    border: 1px solid #CCD1D1;
    border-radius: 5px;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: dimgray;
    height: 32px;
    outline-color: #4EC3E4;
    padding-left: 5px;
    z-index: 0;
}

    .EstiloTxt:hover {
        background-color: #fdf1e0;
    }

.EstiloTxtListado {
    background-color: transparent;
    border: 1px solid #CCD1D1;
    border-radius: 5px;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: dimgray;
    height: 32px;
    outline-color: #4EC3E4;
    padding-left: 5px;
    z-index: 0;
}

.EstiloTxtLectura {
    background-color: whitesmoke;
    border: 1px solid #CCD1D1;
    border-radius: 5px;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: dimgray;
    height: 32px;
    outline-color: #4EC3E4;
    padding-left: 5px;
    z-index: 0;
}

.EstiloCmb {
    height: 32px;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: dimgray;
    cursor: pointer;
    border: 1px solid #CCD1D1;
    border-radius: 5px;
    outline-color: #4EC3E4;
    padding-left: 5px;
    z-index: 0;
}

.EstiloBtnImagen {
    cursor: pointer;
    height: 35px;
    width: 35px;
    background-color: white;
    font-family: 'Sora', sans-serif;
    font-weight: 300;
    font-size: 10.3pt;
    color: white;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid #CCC;
    border-radius: 8px;
    z-index: 0;
    transition: transform 0.3s;
    box-shadow: 3px 3px 7px #CCD1D1;
}

    .EstiloBtnImagen:hover {
        background-color: #fdf1e0;
        border-color: #4EC3E4;
        color: black;
        transform: translate(0px, -1px) scale(1.01);
        box-shadow: 3px 3px 7px #CCD1D1;
    }

.EstiloBtnPequeño {
    border: 1px solid #4EC3E4;
    cursor: pointer;
    height: 32px;
    width: 100px;
    background-color: #4EC3E4;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: white;
    transition: all 0.2s ease;
    border-radius: 8px;
    z-index: 0;
    transition: transform 0.3s;
}

    .EstiloBtnPequeño:hover {
        background-color: #4EC3E4;
        border-color: white;
        color: white;
        font-weight: bold;
        transform: translate(0px, -1px) scale(1.01);
        box-shadow: 3px 3px 7px #cccccc;
    }

    .EstiloBtnPequeño:active {
        transform: scale(0.92);
    }

    .EstiloBtnPequeño:disabled {
        background-color: whitesmoke;
        color: dimgray;
        cursor: not-allowed;
        border: 1px solid #CCC;
    }

        .EstiloBtnPequeño:disabled:hover {
            background-color: whitesmoke;
            border: 1px solid #CCC;
            color: dimgray;
            font-weight: bold;
            transform: translate(0px, -1px) scale(1.01);
            box-shadow: 3px 3px 7px #cccccc;
        }

.EstiloBtnMediano {
    border: 1px solid #4EC3E4;
    cursor: pointer;
    height: 32px;
    width: 150px;
    background-color: #4EC3E4;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: white;
    transition: all 0.2s ease;
    border-radius: 8px;
    z-index: 0;
    transition: transform 0.3s;
}

    .EstiloBtnMediano:hover {
        background-color: #4EC3E4;
        border-color: white;
        color: white;
        font-weight: bold;
        transform: translate(0px, -1px) scale(1.01);
        box-shadow: 3px 3px 7px #cccccc;
    }

    .EstiloBtnMediano:active {
        transform: scale(0.92);
    }

    .EstiloBtnMediano:disabled {
        background-color: whitesmoke;
        color: dimgray;
        cursor: not-allowed;
        border: 1px solid #CCC;
    }

        .EstiloBtnMediano:disabled:hover {
            background-color: whitesmoke;
            border: 1px solid #CCC;
            color: dimgray;
            font-weight: bold;
            transform: translate(0px, -1px) scale(1.01);
            box-shadow: 3px 3px 7px #cccccc;
        }

.EstiloBtnGrande {
    border: 1px solid #4EC3E4;
    cursor: pointer;
    height: 32px;
    width: 450px;
    background-color: #4EC3E4;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: white;
    transition: all 0.2s ease;
    border-radius: 8px;
    z-index: 0;
    transition: transform 0.3s;
}

    .EstiloBtnGrande:hover {
        background-color: #4EC3E4;
        border-color: white;
        color: white;
        font-weight: bold;
        transform: translate(0px, -1px) scale(1.01);
        box-shadow: 3px 3px 7px #cccccc;
    }

.EstiloBtnCancelar {
    border: 1px solid #FEA321;
    cursor: pointer;
    height: 32px;
    width: 100px;
    background-color: #FEA321;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    color: white;
    transition: all 0.2s ease;
    border-radius: 8px;
    z-index: 0;
    transition: transform 0.3s;
}

    .EstiloBtnCancelar:hover {
        background-color: #FEA321;
        border-color: white;
        color: white;
        font-weight: bold;
        transform: translate(0px, -1px) scale(1.01);
        box-shadow: 3px 3px 7px #cccccc;
    }

.EstiloLink {
    border-style: none;
    height: 20px;
    width: 165px;
    cursor: pointer;
    color: dimgray;
    background-color: transparent;
    text-decoration: underline;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.3pt;
    transition: transform 0.3s;
}

    .EstiloLink:hover {
        color: darkorange;
    }

.EstiloPnlProgreso {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(1px);
}

.ContenedorLoader {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

    .ContenedorLoader img {
        width: 145px;
        height: 145px;
    }

.TextoLoader {
    font-family: 'Sora', sans-serif;
    font-size: 15pt;
    margin-top: 15px;
    font-weight: 500;
    color: #1e293b;
    animation: pulse 1.2s infinite ease-in-out;
}

.PuntosAnimados::after {
    content: "";
    animation: Puntos 1.5s steps(3, end) infinite;
}

@keyframes Puntos {
    0% {
        content: "";
    }

    33% {
        content: ".";
    }

    66% {
        content: "..";
    }

    100% {
        content: "...";
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.EstiloNavb {
    color: gray !important;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 10.5pt;
}

    .EstiloNavb .nav-link {
        margin: 1px;
    }

        .EstiloNavb .nav-link.active {
            background-color: #4EC3E4 !important;
            border-color: #4EC3E4;
            color: white !important;
            box-shadow: 3px 3px 7px #CCD1D1;
            transition: all 0.2s ease;
            cursor: pointer;
            font-weight: 500;
        }

        .EstiloNavb .nav-link:not(.active) {
            background-color: #fdf1e0 !important;
            border-color: #4EC3E4;
            color: gray !important;
        }

            .EstiloNavb .nav-link:not(.active):hover {
                background-color: #fdf1e0 !important;
                border-color: #4EC3E4;
                color: gray !important;
                box-shadow: 3px 3px 7px #CCD1D1;
                transition: all 0.2s ease;
                cursor: pointer;
            }

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 26px;
    color: #4EC3E4;
    cursor: pointer;
    z-index: 1001;
    background: white;
    border-radius: 10px;
    padding: 5px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background 0.3s;
    display: none;
}

    .menu-toggle:hover {
        background: #f1f9fa;
    }

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    transition: opacity 0.3s ease;
}

    .overlay.active {
        display: block;
        opacity: 1;
    }

.sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 275px;
    min-height: 87vh;
    background-color: white;
    border: 1px solid #4EC3E4;
    border-radius: 20px;
    overflow-y: auto;
    transition: transform 0.3s ease;
    align-content: center;
    z-index: 1000;
    box-shadow: 3px 3px 7px #cccccc;
    font-family: 'Inter', sans-serif;
    font-size: 10.3pt;
    font-weight: 300;
    cursor: pointer;
    margin-left: 5px;
}

    .sidebar.closed {
        transform: translateX(-100%);
    }

    .sidebar::-webkit-scrollbar {
        width: 5px;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: #4EC3E4;
        border-radius: 10px;
    }

    .sidebar ul,
    .sidebar li,
    .submenu ul,
    .submenu li {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
    }

    .sidebar .nav-link {
        display: flex;
        align-items: center;
        color: #444;
        padding: 9px 10px;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
        font-family: 'Sora', sans-serif;
        font-size: 10.3pt;
        font-weight: 300;
    }

        .sidebar .nav-link:hover {
            background-color: #d8f2f7;
            color: #2E90AC;
            font-weight: 300;
        }

.submenu {
    display: none;
    position: fixed;
    top: auto;
    left: 275px;
    background-color: #ffffff;
    border: 1px solid #4EC3E4;
    border-radius: 15px;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
    font-family: 'Sora', sans-serif;
    font-size: 10.3pt;
    font-weight: 300;
    min-width: 200px;
    z-index: 1200;
}

    .submenu .nav-link {
        padding: 9px 10px;
        color: #444;
        border-radius: 10px;
        white-space: nowrap;
    }

        .submenu .nav-link:hover {
            background-color: #4EC3E4;
            color: #fff;
        }

.nav-item.has-submenu > .nav-link::after {
    content: "";
    margin-left: auto;
    color: #4EC3E4;
}

.content {
    margin-left: 300px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.nav-item.has-submenu:hover > .submenu {
    display: block;
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        overflow-y: auto;
        max-height: 100vh;
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .content {
        margin-left: 0;
    }

    .submenu {
        position: relative;
        left: 0;
        top: 0;
        border: none;
        box-shadow: none;
        background: none;
        max-height: 70vh;
        overflow-y: auto;
    }

        .submenu .nav-link {
            padding-left: 30px;
        }

    .nav-item.has-submenu.active > .submenu {
        display: block;
    }
}

h1 {
    color: #333;
}