﻿/* 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 {
    height: 56px;
    padding: 0.7rem;
    display: flex;
    align-items: center;
    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 {
    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;
}