/* =========================================================
   MISOL - SISTEMA DE ASISTENCIA
   Identidad visual Grupo MISOL LATAM
   ========================================================= */

:root {
    --misol-bg: #020b1c;
    --misol-bg-2: #06152d;
    --misol-panel: rgba(7, 24, 48, 0.78);
    --misol-panel-solid: #071830;

    --misol-blue: #1683ff;
    --misol-blue-light: #39a7ff;
    --misol-cyan: #29c7ff;

    --misol-text: #f4f8ff;
    --misol-text-muted: #91a4bd;

    --misol-border: rgba(73, 154, 255, 0.18);

    --misol-success: #16b978;
    --misol-warning: #f5b91e;
}


html {
    font-size: 16px;
    min-height: 100%;
    background: var(--misol-bg);
}


body {
    margin: 0;
    min-height: 100vh;

    color: var(--misol-text);

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(0, 126, 255, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0, 194, 255, 0.06),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #020916 0%,
            #031127 48%,
            #020b1c 100%
        );

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   HEADER
   ========================================================= */

.misol-header {
    position: relative;

    height: 78px;

    background: rgba(1, 12, 29, 0.94);

    border-bottom: 1px solid var(--misol-border);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(14px);
}


.misol-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(22, 131, 255, 0.7),
            rgba(41, 199, 255, 0.5),
            transparent
        );
}


.misol-header-inner {
    max-width: 1400px;

    height: 100%;

    margin: auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
   ========================================================= */

.misol-brand {
    position: relative;

    display: inline-flex;
    flex-direction: column;

    text-decoration: none;

    line-height: 0.85;
}


.misol-brand:hover {
    text-decoration: none;
}


.misol-brand-grupo {
    font-size: 9px;
    letter-spacing: 4px;

    color: #4f86c7;

    margin-left: 2px;
}


.misol-brand-name {
    font-size: 29px;
    font-weight: 800;

    letter-spacing: -1px;

    color: #2589ed;
}


.misol-brand-o {
    color: #f0d900;
}


.misol-brand-latam {
    font-size: 7px;

    letter-spacing: 4px;

    color: #5d82a9;

    margin-left: 42px;
    margin-top: 2px;
}


/* =========================================================
   MODULO
   ========================================================= */

.misol-module {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.8px;

    color: #9db4d0;
}


.module-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--misol-cyan);

    box-shadow:
        0 0 8px rgba(41, 199, 255, 0.9),
        0 0 18px rgba(41, 199, 255, 0.35);
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.misol-main {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 45px 32px 70px;
}


/* =========================================================
   TITULOS
   ========================================================= */

.misol-main h1 {
    color: var(--misol-text);

    letter-spacing: -1px;

    font-weight: 800;
}


.misol-main .text-muted {
    color: var(--misol-text-muted) !important;
}


/* =========================================================
   TARJETA PRINCIPAL
   ========================================================= */

.misol-main .card {
    background:
        linear-gradient(
            145deg,
            rgba(9, 31, 61, 0.9),
            rgba(3, 15, 33, 0.94)
        );

    border: 1px solid var(--misol-border);

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}


/* =========================================================
   TABLA
   ========================================================= */

.misol-main .table {
    margin-bottom: 0;

    color: #e8f1fb;

    --bs-table-bg: transparent;
    --bs-table-color: #e8f1fb;
}


.misol-main .table thead {
    background: rgba(1, 9, 21, 0.85);
}


.misol-main .table thead th {
    padding: 17px 14px;

    color: #91b9e2;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    border-bottom: 1px solid rgba(60, 145, 225, 0.2);
}


.misol-main .table tbody td {
    padding: 16px 14px;

    vertical-align: middle;

    border-color: rgba(71, 127, 181, 0.12);

    color: #e7f0fb;
}


.misol-main .table tbody tr {
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}


.misol-main .table tbody tr:hover {
    background: rgba(22, 131, 255, 0.07);
}


/* =========================================================
   EMPLEADO
   ========================================================= */

.misol-main .table tbody td:first-child strong {
    color: #ffffff;

    font-weight: 650;

    letter-spacing: 0.2px;
}


/* =========================================================
   BADGES
   ========================================================= */

.misol-main .badge {
    border-radius: 7px;

    padding: 7px 11px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.3px;
}


.misol-main .badge.bg-success {
    background: rgba(22, 185, 120, 0.16) !important;

    color: #37dc9d !important;

    border: 1px solid rgba(22, 185, 120, 0.28);
}


.misol-main .badge.bg-warning {
    background: rgba(245, 185, 30, 0.14) !important;

    color: #ffd45d !important;

    border: 1px solid rgba(245, 185, 30, 0.25);
}


/* =========================================================
   CONEXION
   ========================================================= */

.misol-main .text-success {
    color: #38d99d !important;
}


/* =========================================================
   FOOTER
   ========================================================= */

.misol-footer {
    max-width: 1400px;

    margin: 0 auto;

    padding: 22px 32px 30px;

    display: flex;
    justify-content: space-between;

    color: #607894;

    font-size: 12px;

    border-top: 1px solid rgba(60, 130, 200, 0.12);
}


.misol-footer strong {
    color: #8ba8c7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .misol-header {
        height: 70px;
    }

    .misol-header-inner {
        padding: 0 18px;
    }

    .misol-module {
        display: none;
    }

    .misol-main {
        padding: 28px 15px 50px;
    }

    .misol-main h1 {
        font-size: 30px;
    }

    .misol-footer {
        padding: 20px 18px;
        flex-direction: column;
        gap: 6px;
    }

    .misol-main .table {
        font-size: 13px;
    }

    .misol-main .table thead th {
        font-size: 9px;
        padding: 12px 8px;
    }

    .misol-main .table tbody td {
        padding: 12px 8px;
    }
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}


::-webkit-scrollbar-track {
    background: #020a18;
}


::-webkit-scrollbar-thumb {
    background: #12375e;

    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: #1d5d91;
}