/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #26384f;
}

a {
    text-decoration: none;
}

/* =========================================================
   LOGIN
   ========================================================= */

.login-body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 30px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow-x: hidden;
    overflow-y: auto;

    background:
        radial-gradient(
            circle at top left,
            rgba(55, 135, 223, 0.28),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 255, 255, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #091a38 0%,
            #102d5e 45%,
            #1a4d8d 100%
        );
}

/* Decoraciones del fondo */

.login-decoracion {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.login-decoracion-1 {
    width: 380px;
    height: 380px;
    top: -160px;
    right: -120px;
}

.login-decoracion-2 {
    width: 300px;
    height: 300px;
    bottom: -130px;
    left: -90px;
}

/* Contenedor del login */

.login-contenedor {
    width: 100%;
    max-width: 450px;
    margin: auto;
    position: relative;
    z-index: 10;
}

/* Tarjeta */

.login-tarjeta {
    width: 100%;
    padding: 34px 38px 28px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
    text-align: center;
}

/* Logo del login */

.login-logo {
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo img {
    display: block;
    width: 125px;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
}

/* Encabezado */

.login-encabezado {
    margin-bottom: 27px;
    text-align: center;
}

.login-encabezado h1 {
    margin: 0 0 5px;
    color: #17385f;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.login-encabezado h2 {
    margin: 0 0 8px;
    color: #2866c2;
    font-size: 19px;
    font-weight: 700;
}

.login-encabezado p {
    margin: 0;
    color: #78869a;
    font-size: 13px;
}

/* Alertas */

.login-alerta {
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: left;
    font-size: 13px;
}

/* Formulario */

.login-formulario {
    width: 100%;
    text-align: left;
}

.login-formulario .form-label {
    margin-bottom: 7px;
    color: #344a65;
    font-size: 13px;
    font-weight: 600;
}

/* Contenedor del input */

.login-input-contenedor {
    width: 100%;
    position: relative;
}

/* Iconos */

.login-icono {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;
    pointer-events: none;
}

/* Inputs */

.login-input {
    width: 100%;
    height: 46px;

    padding-left: 43px;
    padding-right: 14px;

    border: 1px solid #d5deea;
    border-radius: 9px;

    background: #f9fbfd;
    color: #26384f;

    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.login-input::placeholder {
    color: #9ba7b6;
}

.login-input:focus {
    background: #ffffff;
    border-color: #367acb;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(54, 122, 203, 0.12);
}

/* Contraseña */

.login-password {
    padding-right: 48px;
}

/* Botón mostrar contraseña */

.boton-ver-password {
    width: 40px;
    height: 40px;

    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color: #607086;

    cursor: pointer;
}

.boton-ver-password:hover {
    background: #edf3fa;
}

/* Botón iniciar sesión */

.boton-login {
    width: 100%;
    min-height: 46px;
    margin-top: 4px;

    border: 0;
    border-radius: 9px;

    background: linear-gradient(
        90deg,
        #245ca9,
        #3787df
    );

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.boton-login:hover,
.boton-login:focus {
    background: linear-gradient(
        90deg,
        #1e529b,
        #2e79ce
    );

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 7px 16px rgba(40, 101, 186, 0.25);
}

/* =========================================================
   LOGIN - RECUPERACIÓN DE CONTRASEÑA
   Visible cuando Django renderiza mostrar_recuperacion.
   ========================================================= */

.login-recuperacion {
    margin-top: 24px;
    padding: 20px 16px;
    background: #f0f5fc;
    border: 1px solid #d5e2f3;
    border-radius: 12px;
    text-align: center;
    animation: mostrarRecuperacion 0.4s ease-out;
}

.login-recuperacion-icono {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: #e0ebfa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.login-recuperacion-titulo {
    color: #17365d;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-recuperacion-texto {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 14px;
}

.login-recuperacion-enlace {
    display: inline-block;
    color: #174574;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.login-recuperacion-enlace:hover {
    background: #dce8f8;
    color: #102744;
    text-decoration: underline;
}

.login-recuperacion-enlace:focus-visible {
    outline: 2px solid #174574;
    outline-offset: 3px;
}

@keyframes mostrarRecuperacion {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .login-recuperacion {
        padding: 16px 12px;
        margin-top: 18px;
    }

    .login-recuperacion-titulo {
        font-size: 13px;
    }

    .login-recuperacion-texto {
        font-size: 12px;
    }

    .login-recuperacion-enlace {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-recuperacion {
        animation: none;
    }

    .login-recuperacion-enlace {
        transition: none;
    }
}

/* Separador */

.login-separador {
    width: 100%;
    height: 1px;

    margin: 27px 0 19px;

    background: #e4eaf1;
}

/* Pie del login */

.login-pie {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 4px;

    color: #7b8796;

    font-size: 11px;

    text-align: center;
}

.login-pie strong {
    color: #4b5f78;
    font-size: 11px;
}

/* =========================================================
   ESTRUCTURA PRINCIPAL
   ========================================================= */

.app-layout {
    width: 100%;
    min-height: 100vh;

    display: grid;

    grid-template-columns: 250px minmax(0, 1fr);
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
    width: 250px;
    min-width: 250px;
    height: 100vh;

    position: sticky;
    top: 0;

    display: flex;
    flex-direction: column;

    overflow-y: auto;
    overflow-x: hidden;

    background: linear-gradient(
        180deg,
        #102958 0%,
        #183b77 100%
    );

    color: #ffffff;

    box-shadow: 4px 0 18px rgba(0, 0, 0, 0.08);

    z-index: 100;
}

/* =========================================================
   LOGO SIDEBAR
   ========================================================= */

.sidebar-logo {
    width: 100%;
    min-height: 115px;

    padding: 22px 18px;

    display: flex;
    align-items: center;

    gap: 13px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo img {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    object-fit: contain;

    background: #ffffff;

    padding: 5px;

    border-radius: 11px;
}

.sidebar-logo h5 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;
}

.sidebar-logo small {
    display: block;

    color: rgba(255, 255, 255, 0.76);

    font-size: 11px;
    line-height: 1.4;
}

/* =========================================================
   MENÚ PRINCIPAL
   ========================================================= */

.sidebar-menu {
    width: 100%;

    padding: 15px 12px;

    flex: 1;
}

.sidebar-link {
    width: 100%;
    min-height: 44px;

    margin-bottom: 5px;
    padding: 10px 13px;

    display: flex;
    align-items: center;

    gap: 11px;

    border-radius: 8px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 13px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    transform: translateX(2px);
}

.sidebar-link.active {
    background: #2e74c9;

    color: #ffffff;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.sidebar-icon {
    width: 22px;
    min-width: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   MENÚ DESPLEGABLE DE DISPOSITIVOS
   ========================================================= */

.sidebar-dropdown {
    width: 100%;
    position: relative;
}

/* Botón principal Dispositivos */

.sidebar-dropdown-toggle {
    border: 0;
    outline: none;

    background: transparent;

    text-align: left;

    cursor: pointer;

    font-family: inherit;
}

.sidebar-dropdown-text {
    flex: 1;

    min-width: 0;

    text-align: left;
}

.sidebar-arrow {
    width: 16px;
    min-width: 16px;

    margin-left: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.72);

    font-size: 10px;

    transition: transform 0.25s ease;
}

.sidebar-dropdown-toggle[aria-expanded="true"] .sidebar-arrow,
.sidebar-submenu-toggle[aria-expanded="true"] .sidebar-arrow {
    transform: rotate(180deg);
}

.sidebar-dropdown-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;
}

.sidebar-dropdown-toggle.active {
    background: #2e74c9;

    color: #ffffff;
}

/* =========================================================
   SUBMENÚ NIVEL 1
   ========================================================= */

.sidebar-submenu {
    width: 100%;

    position: relative;

    margin-top: 1px;
    margin-bottom: 4px;

    padding-left: 8px;
}

.sidebar-submenu::before {
    content: "";

    position: absolute;

    width: 2px;

    top: 2px;
    bottom: 2px;
    left: 12px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.09);
}

/* =========================================================
   BOTONES INTERNOS DE DISPOSITIVOS
   MÁS PEQUEÑOS Y COMPACTOS
   ========================================================= */

.sidebar-sublink {
    width: 100%;

    min-height: 31px;

    margin-bottom: 1px;

    padding: 5px 8px 5px 14px;

    display: flex;
    align-items: center;

    gap: 7px;

    border: 0;
    border-radius: 6px;

    background: transparent;

    color: rgba(255, 255, 255, 0.76);

    font-family: inherit;

    font-size: 11px;
    font-weight: 500;

    line-height: 1.15;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.sidebar-sublink:hover {
    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    transform: translateX(2px);
}

.sidebar-sublink.active {
    background: rgba(65, 139, 224, 0.32);

    color: #ffffff;

    font-weight: 600;
}

/* Iconos del submenu */

.submenu-icon {
    width: 17px;
    min-width: 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
}

/* Botones que abren Cámaras y Switch */

.sidebar-submenu-toggle {
    appearance: none;
    -webkit-appearance: none;
}

/* =========================================================
   SUBMENÚ NIVEL 2
   CÁMARAS Y SWITCH
   ========================================================= */

.sidebar-submenu-level-2 {
    width: 100%;

    margin: 0 0 2px;

    padding-left: 21px;
}

.sidebar-sublink-level-2 {
    min-height: 27px;

    margin-bottom: 1px;

    padding: 4px 8px;

    color: rgba(255, 255, 255, 0.66);

    font-size: 10.5px;
}

.sidebar-sublink-level-2 > span:first-child {
    width: 8px;
    min-width: 8px;

    color: #70b4ff;

    font-size: 12px;

    line-height: 1;
}

.sidebar-sublink-level-2:hover {
    background: rgba(255, 255, 255, 0.07);

    color: #ffffff;
}

.sidebar-sublink-level-2.active {
    background: rgba(55, 135, 223, 0.26);

    color: #ffffff;

    font-weight: 600;
}

/* Animación */

.sidebar-submenu.collapsing,
.sidebar-submenu-level-2.collapsing {
    transition: height 0.22s ease;
}

/* Scroll discreto */

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);

    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.30);
}

/* =========================================================
   USUARIO DEL SIDEBAR
   ========================================================= */

.sidebar-user {
    width: 100%;

    padding: 16px;

    display: flex;
    align-items: center;

    gap: 10px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.sidebar-user-avatar {
    width: 38px;
    height: 38px;

    min-width: 38px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    color: #173b78;

    font-weight: 700;
}

.sidebar-user-info {
    min-width: 0;
}

.sidebar-user-info strong {
    display: block;

    overflow: hidden;

    color: #ffffff;

    font-size: 13px;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-user-info small {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 11px;
}

/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

.main-content {
    width: 100%;
    min-width: 0;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    background: #f5f7fb;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    width: 100%;
    min-height: 76px;

    padding: 14px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #ffffff;

    border-bottom: 1px solid #e1e7ef;
}

.topbar-title {
    margin: 0;

    color: #17385f;

    font-size: 21px;
    font-weight: 700;
}

.topbar-actions {
    display: flex;
    align-items: center;

    gap: 18px;
}

.topbar-user {
    text-align: right;
}

.topbar-user strong {
    display: block;

    color: #26384f;

    font-size: 13px;
}

.topbar-user small {
    display: block;

    margin-top: 2px;

    color: #78869a;

    font-size: 11px;
}

/* =========================================================
   CONTENIDO
   ========================================================= */

.content-wrapper {
    width: 100%;
    max-width: 100%;

    padding: 28px;

    overflow: hidden;
}

/* =========================================================
   CABECERA DEL DASHBOARD
   ========================================================= */

.dashboard-welcome {
    width: 100%;

    margin-bottom: 25px;
}

.dashboard-welcome h2 {
    margin: 0 0 7px;

    color: #17385f;

    font-size: 24px;
    font-weight: 700;
}

.dashboard-welcome p {
    margin: 0;

    color: #748196;

    font-size: 14px;
}

/* =========================================================
   TARJETAS DEL DASHBOARD
   ========================================================= */

.dashboard-card {
    width: 100%;
    min-width: 0;
    min-height: 125px;

    padding: 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    background: #ffffff;

    border: 1px solid #dfe6ef;
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(31, 55, 86, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(31, 55, 86, 0.09);
}

.dashboard-card-icon {
    width: 50px;
    height: 50px;

    min-width: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #edf4ff;

    font-size: 23px;
}

.dashboard-card-label {
    display: block;

    margin-bottom: 4px;

    color: #64748b;

    font-size: 13px;
    font-weight: 600;
}

.dashboard-card h3 {
    margin: 0;

    color: #2866c2;

    font-size: 27px;
    font-weight: 700;
}

/* =========================================================
   PANELES
   ========================================================= */

.panel-sistema {
    width: 100%;
    min-width: 0;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #dfe6ef;
    border-radius: 14px;

    box-shadow: 0 3px 10px rgba(31, 55, 86, 0.04);
}

.panel-titulo {
    margin: 0;

    color: #17385f;

    font-size: 17px;
    font-weight: 700;
}

/* =========================================================
   TABLAS
   ========================================================= */

.table-responsive {
    width: 100%;
    max-width: 100%;

    overflow-x: auto;
}

.tabla-sistema {
    width: 100%;

    border-collapse: collapse;

    background: #ffffff;

    font-size: 13px;
}

.tabla-sistema thead {
    background: #f1f5f9;
}

.tabla-sistema th {
    padding: 12px 14px;

    color: #425a77;

    border-bottom: 1px solid #dce4ed;

    font-size: 11px;
    font-weight: 700;

    text-align: left;
    text-transform: uppercase;

    white-space: nowrap;
}

.tabla-sistema td {
    padding: 14px;

    color: #435269;

    border-bottom: 1px solid #edf1f5;

    vertical-align: middle;
}

.tabla-sistema tbody tr:hover {
    background: #f8faff;
}

/* =========================================================
   BOTÓN PRINCIPAL
   ========================================================= */

.btn-tesh {
    min-height: 39px;

    padding: 9px 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 7px;

    background: linear-gradient(
        90deg,
        #2865ba,
        #3787df
    );

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-tesh:hover {
    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(40, 101, 186, 0.22);
}

/* =========================================================
   FORMULARIOS
   ========================================================= */

.form-label {
    color: #344a65;

    font-size: 13px;
}

.form-control,
.form-select {
    width: 100%;
    min-height: 40px;

    border: 1px solid #d6dee9;
    border-radius: 7px;

    font-size: 13px;
}

.form-control:focus,
.form-select:focus {
    border-color: #4381cf;

    box-shadow: 0 0 0 0.18rem rgba(67, 129, 207, 0.14);
}

textarea.form-control {
    min-height: 100px;
}

/* =========================================================
   ESTADOS
   ========================================================= */

.estado {
    display: inline-flex;
    align-items: center;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
}

.estado-activo {
    background: #e5f6eb;
    color: #17753b;
}

.estado-inactivo {
    background: #eef0f3;
    color: #69717c;
}

.estado-mantenimiento {
    background: #fff2d7;
    color: #936500;
}

/* =========================================================
   BOOTSTRAP
   ========================================================= */

.row {
    max-width: 100%;

    margin-left: calc(-0.5 * var(--bs-gutter-x));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
    min-width: 0;
}

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .app-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .sidebar {
        width: 220px;
        min-width: 220px;
    }

    .sidebar-logo {
        padding-left: 14px;
        padding-right: 14px;
    }

    .sidebar-logo img {
        width: 45px;
        height: 45px;
    }

    .sidebar-logo h5 {
        font-size: 16px;
    }

    .sidebar-link {
        font-size: 12px;
    }

    .sidebar-sublink {
        min-height: 30px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 10.5px;
    }

    .sidebar-sublink-level-2 {
        min-height: 26px;
        font-size: 10px;
    }

    .content-wrapper {
        padding: 20px;
    }

    .topbar {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================================
   RESPONSIVE CELULAR
   ========================================================= */

@media (max-width: 767.98px) {

    .app-layout {
        display: block;
    }

    .sidebar {
        position: relative;

        width: 100%;
        min-width: 100%;

        height: auto;
        min-height: auto;

        overflow: visible;
    }

    .sidebar-logo {
        min-height: 80px;
    }

    .sidebar-menu {
        display: flex;

        gap: 5px;

        overflow-x: auto;
        overflow-y: visible;
    }

    .sidebar-link {
        width: auto;
        min-width: max-content;

        margin: 0;
    }

    .sidebar-user {
        display: none;
    }

    .main-content {
        width: 100%;
    }

    .topbar {
        padding: 14px 16px;

        flex-direction: column;
        align-items: flex-start;
    }

    .topbar-actions {
        width: 100%;

        justify-content: space-between;
    }

    .content-wrapper {
        padding: 16px;
    }

    .dashboard-card {
        min-height: 105px;
    }

    /* Menú Dispositivos en celular */

    .sidebar-dropdown {
        width: auto;

        position: relative;

        flex-shrink: 0;
    }

    .sidebar-dropdown-toggle {
        width: auto;

        min-width: max-content;

        margin: 0;
    }

    .sidebar-submenu {
        width: 220px;

        position: absolute;

        top: calc(100% + 5px);
        left: 0;

        z-index: 1000;

        padding: 6px;

        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 9px;

        background: #17366c;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }

    .sidebar-submenu::before {
        display: none;
    }

    .sidebar-sublink {
        width: 100%;

        min-height: 30px;

        padding: 5px 7px;

        font-size: 10.5px;
    }

    .sidebar-submenu-level-2 {
        padding-left: 15px;
    }

    .sidebar-sublink-level-2 {
        min-height: 26px;

        font-size: 10px;
    }
}

/* =========================================================
   RESPONSIVE LOGIN
   ========================================================= */

@media (max-width: 575.98px) {

    .login-body {
        padding: 20px 14px;
    }

    .login-contenedor {
        max-width: 100%;
    }

    .login-tarjeta {
        padding: 27px 21px;

        border-radius: 16px;
    }

    .login-logo img {
        width: 105px;
        height: 78px;
    }

    .login-encabezado {
        margin-bottom: 23px;
    }

    .login-encabezado h1 {
        font-size: 22px;
    }

    .login-encabezado h2 {
        font-size: 17px;
    }

    .login-encabezado p {
        font-size: 12px;
    }

    .login-input {
        height: 45px;
    }

    .boton-login {
        min-height: 45px;
    }
}