﻿/* Estilo general del proyecto */

body {
    font-size: 0.78rem;
}

.ej-page {
    padding: 1rem;
}

.ej-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.ej-card-header {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 700;
    font-size: 0.95rem;
}

.ej-card-body {
    padding: 0.65rem;
}

.ej-label {
    font-size: 0.68rem;
    font-weight: 600;
    margin-bottom: 0.08rem;
    color: #475569;
}

.ej-input {
    height: 24px;
    min-height: 24px;
    font-size: 0.70rem;
    padding: 0.10rem 0.35rem;
}

.ej-textarea {
    font-size: 0.70rem;
    padding: 0.20rem 0.35rem;
}
.ej-btn {
    font-size: 0.70rem;
    padding: 0.18rem 0.50rem;
    border-radius: 8px;
}

.ej-table {
    font-size: 0.72rem;
}
    .ej-table th,
    .ej-table td {
        padding: 0.4rem 0.5rem;
        vertical-align: middle;
    }

.ej-section-title {
    font-size: 0.9rem;
    font-weight: 700;
}
.ej-input.form-control,
.ej-input.form-select {
    height: 22px !important;
    min-height: 22px !important;
    font-size: 0.68rem !important;
    padding: 0.05rem 0.30rem !important;
    line-height: 1.1 !important;
}

.ej-label {
    font-size: 0.66rem !important;
    margin-bottom: 0.05rem !important;
    line-height: 1 !important;
}

.ej-textarea.form-control {
    font-size: 0.68rem !important;
    padding: 0.15rem 0.30rem !important;
    line-height: 1.1 !important;
}

.ej-card-body {
    padding: 0.55rem !important;
}

.ej-card-header {
    padding: 0.45rem 0.75rem !important;
    font-size: 0.82rem !important;
}

.ej-table {
    font-size: 0.70rem !important;
}

.ej-btn {
    font-size: 0.68rem !important;
    padding: 0.15rem 0.45rem !important;
}
.app {
    display: flex !important;
    min-height: 100vh;
    background: #f5f7fb;
}

.contenido {
    flex: 1;
    min-width: 0;
}

.topbar-band {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.7rem 0;
}

.main-container {
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .app {
        flex-direction: column;
    }
}
.app {
    display: flex !important;
    min-height: 100vh !important;
    background: #f5f7fb !important;
}

.contenido {
    flex: 1 !important;
    min-width: 0 !important;
}

.menu-lateral {
    width: 210px !important;
    min-width: 210px !important;
    height: 100vh !important;
    position: sticky !important;
    top: 0 !important;
    background: #0f172a !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
}

    .menu-lateral.colapsado {
        width: 64px !important;
        min-width: 64px !important;
    }

.marca {
    min-height: 56px;
    padding: 0.9rem 0.7rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.marca-texto {
    display: flex;
    flex-direction: column;
}

    .marca-texto small {
        color: #cbd5e1;
        font-size: 0.68rem;
    }

.toggle {
    border: none;
    background: transparent;
    color: white;
}

.item {
    display: flex !important;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.8rem;
    color: #cbd5e1 !important;
    text-decoration: none;
    font-size: 0.78rem;
}

    .item:hover,
    .item.active {
        background: rgba(255,255,255,0.08);
        color: white !important;
    }

    .item i {
        min-width: 20px;
        text-align: center;
    }

.menu-lateral.colapsado span,
.menu-lateral.colapsado .marca-texto,
.menu-lateral.colapsado .marca-logo {
    display: none;
}

.menu-lateral.colapsado .marca {
    justify-content: center;
    align-items: center;
}

.menu-lateral.colapsado .marca-logo-texto {
    display: none;
}
.trabajador-seleccionado td {
    box-shadow: inset 0 0 0 9999px #dbeafe !important;
    font-weight: 600;
}
.ej-thead-sticky th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f8f9fa;
}
.ej-subseccion {
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}
.login-pagina {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #eef4f8 0%, #dce8f0 100%);
}

.login-tarjeta {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.14);
}

.login-cabecera {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo {
    max-height: 62px;
    max-width: 200px;
    margin: 0 auto 14px;
    display: block;
}
.login-logos-fila {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 14px;
}

.login-logo-doble {
    max-height: 56px;
    max-width: 110px;
    object-fit: contain;
}

.login-logos-separador {
    width: 1px;
    height: 40px;
    background: #d5dde3;
}

.login-icono-sm {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin: 0;
}
.login-cabecera h1 {
    margin: 0;
    color: #1e3a4c;
    font-size: 1.65rem;
    font-weight: 700;
}

.login-cabecera p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.9rem;
}

.login-tarjeta .form-label {
    color: #334155;
    font-weight: 600;
}

.login-tarjeta .form-control {
    min-height: 44px;
}

.login-tarjeta .validation-message {
    display: block;
    margin-top: 4px;
    color: #dc2626;
    font-size: 0.8rem;
}

.login-tarjeta .btn-primary {
    min-height: 44px;
    background-color: #25658a;
    border-color: #25658a;
    font-weight: 600;
}

    .login-tarjeta .btn-primary:hover {
        background-color: #1e526f;
        border-color: #1e526f;
    }

.ej-icon-outline {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.

    .ej-resumen-card:hover {
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    }

.ej-icon-outline {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    line-height: 1;
}

.ej-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ej-dato-icono {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #25658a;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ej-resumen-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
    transition: box-shadow 0.15s ease;
}

    .ej-resumen-card:hover {
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    }

.ej-dato-linea {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.text-purple {
    color: #8b5cf6 !important;
}

.text-teal {
    color: #14b8a6 !important;
}
.ej-icon-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
}

.ej-icon-circle-sm {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 0.85rem;
}
.ej-kpi-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.ej-kpi-icono {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.ej-kpi-numero {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #1e293b;
}

.ej-kpi-label {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
}
.bg-purple {
    background-color: #8b5cf6 !important;
}
.marca-logo-texto {
    display: flex;
    align-items: center;
    gap: 8px;
}

.marca-logo {
    width: 72px;
    height: 42px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    padding: 2px;
}
.marca-gunap-pie {
    overflow: hidden;
}

    .marca-gunap-pie img {
        width: 150px !important;
        height: 70px !important;
        object-fit: contain;
        flex-shrink: 0;
    }
.marca-logo-texto {
    display: flex;
    align-items: center;
    gap: 200px;
}

.marca-logo-arriba {
    flex-direction: column;
    gap: 8px;
}