/* ==========================================================================
   ESTILOS GENERALES - UNIDAD MINERA YAULIYACU (GRUPO ALPAYANA) - LARAVEL
   Paleta Oficial Corporativa Minera:
   1. #DAD9D8 -> Gris Claro Base / Fondos y Bordes
   2. #3F403B -> Carbón Grafito Oscuro / Navbar, Cabeceras y Textos
   3. #F8B81F -> Amarillo Oro Minero / Botones Principales, Acentos y Marcas
   4. #EFAA22 -> Ámbar Dorado Cálido / Hover, Gradientes y Estados Activos
   5. #8C8C84 -> Gris Medio / Subtítulos, Bordes y Textos Secundarios
   ========================================================================== */

:root {
    --color-gray-light: #DAD9D8;
    --color-dark-charcoal: #3F403B;
    --color-gold-yellow: #F8B81F;
    --color-amber-gold: #EFAA22;
    --color-medium-gray: #8C8C84;

    --primary-color: #3F403B;
    --primary-dark: #2A2B27;
    --primary-light: #52534C;

    --accent-color: #F8B81F;
    --accent-hover: #EFAA22;
    --accent-dark: #D49010;

    --bg-dark: #3F403B;
    --bg-light: #DAD9D8;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F5F5F4;

    --text-primary: #3F403B;
    --text-secondary: #5C5D56;
    --text-muted: #8C8C84;
    --text-on-accent: #2A2B27;

    --border-color: #DAD9D8;
    --border-medium: #8C8C84;
    --border-focus: #F8B81F;

    --danger-color: #dc2626;
    --success-color: #15803d;
    --warning-color: #F8B81F;

    --sidebar-width: 250px;
    --sidebar-collapsed-width: 68px;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-subtle: 0 2px 4px rgba(63, 64, 59, 0.08);
    --shadow-card: 0 10px 25px -5px rgba(63, 64, 59, 0.15), 0 8px 10px -6px rgba(63, 64, 59, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #DAD9D8;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   ESTRUCTURA PRINCIPAL CON CINTA DE OPCIONES (SIDEBAR)
   ========================================================================== */

.app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    background-color: #DAD9D8;
}

/* 1. Sidebar Lateral (Cinta de Opciones) */
.app-sidebar {
    width: var(--sidebar-width);
    background-color: #3F403B;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: width 0.25s ease;
    border-right: 2.5px solid #F8B81F;
    box-shadow: 4px 0 15px rgba(42, 43, 39, 0.25);
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(218, 217, 216, 0.15);
    background: rgba(0, 0, 0, 0.15);
}

.sidebar-brand {
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(218, 217, 216, 0.12);
    background: rgba(0, 0, 0, 0.15);
    min-height: 64px;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.62rem;
    color: #F8B81F;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.sidebar-user-card {
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(218, 217, 216, 0.08);
    border-bottom: 1px solid rgba(218, 217, 216, 0.12);
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(248, 184, 31, 0.2);
    border: 1.5px solid #F8B81F;
    color: #F8B81F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-user-name {
    font-weight: 700;
    font-size: 0.8rem;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-empresa {
    margin-top: 2px;
}

.badge-role-pill {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.role-superadmin {
    background: #F8B81F;
    color: #2A2B27;
}

.role-admin-empresa {
    background: rgba(248, 184, 31, 0.2);
    color: #F8B81F;
    border: 1px solid rgba(248, 184, 31, 0.4);
}

.role-trabajador {
    background: #3F403B;
    color: #FFFFFF;
}

.sidebar-nav {
    flex: 1;
    padding: 0.75rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8C8C84;
    font-weight: 800;
    padding: 0.5rem 0.65rem 0.2rem;
    display: block;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    color: #DAD9D8;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: transparent;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.sidebar-link i.link-icon {
    font-size: 1.05rem;
    color: #F8B81F;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link .link-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-link .tree-arrow {
    margin-left: auto;
    font-size: 0.72rem;
    color: #8C8C84;
    transition: transform 0.2s ease;
}

.sidebar-link:hover {
    background-color: rgba(218, 217, 216, 0.12);
    color: #FFFFFF;
    border-color: rgba(248, 184, 31, 0.3);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(248, 184, 31, 0.25) 0%, rgba(248, 184, 31, 0.08) 100%);
    color: #FFFFFF;
    font-weight: 800;
    border-left: 3.5px solid #F8B81F;
    border-color: rgba(248, 184, 31, 0.4);
}

.sidebar-link.active i.link-icon {
    color: #F8B81F;
}

.btn-sidebar-logout {
    color: #fca5a5 !important;
}

.btn-sidebar-logout i {
    color: #ef4444 !important;
}

.btn-sidebar-logout:hover {
    background-color: rgba(239, 68, 68, 0.2) !important;
}

/* ==========================================================================
   ESTRUCTURA DE SUB-CARPETAS Y ÁRBOL JERÁRQUICO EN SIDEBAR
   ========================================================================== */

.sidebar-tree-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-tree-toggle.open .tree-arrow {
    transform: rotate(90deg);
    color: #F8B81F;
}

.sidebar-tree-content {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding-left: 0.85rem;
    margin-left: 0.75rem;
    border-left: 1.5px dashed rgba(248, 184, 31, 0.35);
    margin-top: 0.2rem;
}

.sidebar-tree-content.show {
    display: flex;
}

/* Sub-carpeta (Nivel 2) */
.sidebar-subfolder {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-subfolder-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.65rem;
    color: #DAD9D8;
    background: rgba(218, 217, 216, 0.06);
    border: 1px solid rgba(218, 217, 216, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
    width: 100%;
}

.sidebar-subfolder-toggle i.folder-icon {
    font-size: 0.88rem;
    color: #F8B81F;
}

.sidebar-subfolder-toggle .subfolder-arrow {
    margin-left: auto;
    font-size: 0.68rem;
    color: #8C8C84;
    transition: transform 0.2s ease;
}

.sidebar-subfolder-toggle:hover {
    background: rgba(248, 184, 31, 0.15);
    color: #FFFFFF;
    border-color: rgba(248, 184, 31, 0.4);
}

.sidebar-subfolder-toggle.open {
    background: rgba(248, 184, 31, 0.2);
    color: #FFFFFF;
    border-color: #F8B81F;
}

.sidebar-subfolder-toggle.open .subfolder-arrow {
    transform: rotate(90deg);
    color: #F8B81F;
}

.sidebar-subfolder-content {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 0.75rem;
    margin-left: 0.65rem;
    border-left: 1.5px dotted rgba(218, 217, 216, 0.35);
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
}

.sidebar-subfolder-content.show {
    display: flex;
}

/* Enlaces finales dentro de subcarpetas (Nivel 3) */
.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.65rem;
    color: #DAD9D8;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.sidebar-sublink i {
    font-size: 0.75rem;
    color: #EFAA22;
}

.sidebar-sublink:hover {
    background-color: rgba(248, 184, 31, 0.15);
    color: #FFFFFF;
    border-color: rgba(248, 184, 31, 0.35);
}

.sidebar-sublink.active {
    background: linear-gradient(90deg, rgba(248, 184, 31, 0.3) 0%, rgba(248, 184, 31, 0.1) 100%);
    color: #FFFFFF;
    font-weight: 800;
    border-left: 3px solid #F8B81F;
    border-color: rgba(248, 184, 31, 0.5);
}

.badge-subfolder-status {
    font-size: 0.6rem;
    background: rgba(140, 140, 132, 0.3);
    color: #DAD9D8;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    margin-left: auto;
}

.btn-sidebar-logout {
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    color: #fca5a5 !important;
}

.btn-sidebar-logout i {
    color: #ef4444 !important;
}

.btn-sidebar-logout:hover {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #ffffff !important;
}

.sidebar-footer {
    padding: 0.65rem 1rem;
    border-top: 1px solid rgba(218, 217, 216, 0.15);
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.version-tag {
    font-size: 0.68rem;
    color: #8C8C84;
    font-weight: 600;
}

/* ==========================================================================
   ESTADO DEL SIDEBAR COLAPSADO (DESKTOP)
   ========================================================================== */

.sidebar-collapsed .app-sidebar {
    width: var(--sidebar-collapsed-width);
}

.sidebar-collapsed .brand-text,
.sidebar-collapsed .sidebar-user-info,
.sidebar-collapsed .nav-section-title,
.sidebar-collapsed .link-label,
.sidebar-collapsed .sidebar-footer {
    display: none;
}

.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    padding: 1rem 0.5rem;
}

.sidebar-collapsed .sidebar-user-card {
    justify-content: center;
    padding: 0.75rem 0;
}

.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 0.75rem 0;
}

.sidebar-collapsed .sidebar-link i {
    width: auto;
    font-size: 1.25rem;
}

.sidebar-collapsed .app-main-wrapper {
    margin-left: var(--sidebar-collapsed-width);
}

/* ==========================================================================
   CONTENEDOR PRINCIPAL (APP MAIN WRAPPER)
   ========================================================================== */

.app-main-wrapper {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 44px;
    background-color: #DAD9D8;
    transition: margin-left 0.25s ease;
    width: calc(100% - var(--sidebar-width));
}

/* Top Navbar (Flexbox justify-content: space-between) */
.top-navbar-app {
    background: #3F403B;
    color: #FFFFFF;
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2.5px solid #F8B81F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 90;
    min-height: 52px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-toggle-menu {
    background: rgba(218, 217, 216, 0.12);
    border: 1px solid rgba(218, 217, 216, 0.25);
    color: #DAD9D8;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-toggle-menu:hover {
    background-color: #F8B81F;
    color: #2A2B27;
    border-color: #F8B81F;
}

.navbar-brand-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #FFFFFF;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.navbar-brand-badge i {
    color: #F8B81F;
    font-size: 1.15rem;
}

.brand-badge-sub {
    font-size: 0.65rem;
    background: rgba(248, 184, 31, 0.2);
    color: #F8B81F;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-btn-action:hover {
    background: linear-gradient(135deg, #EFAA22 0%, #D49010 100%);
    transform: translateY(-1px);
}

.user-badge-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(218, 217, 216, 0.12);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(218, 217, 216, 0.2);
    white-space: nowrap;
}

.user-badge-nav i {
    font-size: 1.2rem;
    color: #F8B81F;
    flex-shrink: 0;
}

.user-text-nav {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.nav-user-name {
    font-weight: 700;
    font-size: 0.76rem;
    color: #FFFFFF;
    white-space: nowrap;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-badge {
    font-size: 0.62rem;
    color: #F8B81F;
    font-weight: 700;
    white-space: nowrap;
}

.btn-nav-logout {
    background: rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-nav-logout:hover {
    background-color: #dc2626;
    color: #FFFFFF;
}

.app-content-body {
    flex: 1;
    padding: 0.85rem 1.25rem;
    width: 100%;
}

/* ==========================================================================
   DASHBOARD CON GRÁFICOS ANALÍTICOS (CHART.JS)
   ========================================================================== */

.dashboard-analytics-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.analytics-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.analytics-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #3F403B;
    line-height: 1.2;
}

.analytics-subtitle {
    font-size: 0.82rem;
    color: #5C5D56;
    margin-top: 0.2rem;
}

.analytics-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* Grid de 4 KPIs */
.stats-grid-analytics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card-kpi {
    background: #FFFFFF;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s ease;
}

.stat-card-kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(63, 64, 59, 0.1);
}

.kpi-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.kpi-total .kpi-icon-wrapper { background: #EAEAE8; color: #3F403B; }
.kpi-total { border-left: 4.5px solid #3F403B; }

.kpi-aprobados .kpi-icon-wrapper { background: #d1fae5; color: #15803d; }
.kpi-aprobados { border-left: 4.5px solid #15803d; }

.kpi-pendientes .kpi-icon-wrapper { background: #FFF8E6; color: #D49010; }
.kpi-pendientes { border-left: 4.5px solid #F8B81F; }

.kpi-desaprobados .kpi-icon-wrapper { background: #fee2e2; color: #dc2626; }
.kpi-desaprobados { border-left: 4.5px solid #dc2626; }

.kpi-info {
    display: flex;
    flex-direction: column;
}

.kpi-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: #3F403B;
}

.kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #8C8C84;
    letter-spacing: 0.5px;
    margin-top: 0.35rem;
}

.kpi-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #EAEAE8;
    border-radius: 3px;
    margin: 0.75rem 0 0.35rem;
    overflow: hidden;
}

.kpi-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease-in-out;
}

.fill-green { background-color: #15803d; }
.fill-gold { background-color: #F8B81F; }
.fill-red { background-color: #dc2626; }

.kpi-badge-mini {
    margin-top: 0.75rem;
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 800;
    background-color: #F5F5F4;
    color: #3F403B;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    align-self: flex-start;
}

.kpi-rate-text {
    font-size: 0.7rem;
    color: #5C5D56;
    font-weight: 600;
}

/* Grid de Gráficos */
.analytics-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 1.25rem;
}

.chart-card-box {
    background: #FFFFFF;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #DAD9D8;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.chart-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-header-title i {
    color: #EFAA22;
    font-size: 1.1rem;
}

.chart-header-title h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #3F403B;
}

.chart-header-badge {
    font-size: 0.68rem;
    font-weight: 800;
    background-color: #FFF8E6;
    color: #3F403B;
    border: 1px solid #F8B81F;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.chart-custom-legend {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #DAD9D8;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-green { background-color: #15803d; }
.dot-gold { background-color: #F8B81F; }
.dot-red { background-color: #dc2626; }

.legend-label { color: #5C5D56; font-weight: 600; }
.legend-val { color: #3F403B; }

.chart-company-footer {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #DAD9D8;
    flex-wrap: wrap;
}

.company-ratio-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    background-color: #F8F8F7;
    border: 1px solid #DAD9D8;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.text-gold { color: #EFAA22; }
.text-charcoal { color: #3F403B; }

/* Registros Recientes */
.recent-records-section {
    width: 100%;
}

.recent-records-card {
    background: #FFFFFF;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-subtle);
}

.recent-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #DAD9D8;
    padding-bottom: 0.75rem;
}

.recent-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #3F403B;
}

.recent-card-header p {
    font-size: 0.75rem;
    color: #8C8C84;
    margin-top: 0.15rem;
}

.btn-link-all {
    color: #3F403B;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-link-all:hover {
    color: #EFAA22;
}

/* ==========================================================================
   CUADRO DE CONTROL A PANTALLA COMPLETA Y PAGINADO
   ========================================================================== */

.table-fullwidth-container {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    padding: 0.75rem 1rem;
    width: 100%;
    border: 1.5px solid #DAD9D8;
}

.table-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
}

.badge-module-tag {
    display: inline-block;
    background-color: #FFF8E6;
    color: #3F403B;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #F8B81F;
    margin-bottom: 0.15rem;
}

.module-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #3F403B;
    line-height: 1.15;
}

.module-desc {
    font-size: 0.76rem;
    color: #5C5D56;
    margin-top: 0.1rem;
}

/* Estadísticas 4 columnas compactas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.stat-card {
    background: #F8F8F7;
    border: 1.5px solid #DAD9D8;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(63, 64, 59, 0.08);
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    color: #3F403B;
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #5C5D56;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.stat-total .stat-icon { background: #EAEAE8; color: #3F403B; }
.stat-total { border-left: 3.5px solid #3F403B; }

.stat-aprobado .stat-icon { background: #d1fae5; color: #15803d; }
.stat-aprobado { border-left: 3.5px solid #15803d; }

.stat-pendiente .stat-icon { background: #FFF8E6; color: #D49010; }
.stat-pendiente { border-left: 3.5px solid #F8B81F; }

.stat-desaprobado .stat-icon { background: #fee2e2; color: #dc2626; }
.stat-desaprobado { border-left: 3.5px solid #dc2626; }

/* Barra de Filtros y Búsqueda Compacta */
.filter-toolbar {
    background: #F8F8F7;
    border: 1.5px solid #DAD9D8;
    border-radius: 6px;
    padding: 0.4rem 0.65rem;
    margin-bottom: 0.5rem;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-input-box {
    position: relative;
    flex: 2;
    min-width: 220px;
    display: flex;
    align-items: center;
}

.search-input-box i {
    position: absolute;
    left: 0.75rem;
    color: #8C8C84;
    font-size: 0.82rem;
    pointer-events: none;
}

.form-control-search {
    width: 100%;
    padding: 0.38rem 1.8rem 0.38rem 2.1rem;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-family: inherit;
    background: #FFFFFF;
    color: #3F403B;
    height: 33px;
    transition: all 0.15s ease;
}

.form-control-search:focus {
    outline: none;
    border-color: #F8B81F;
    box-shadow: 0 0 0 2px rgba(248, 184, 31, 0.2);
}

.btn-clear-search {
    position: absolute;
    right: 0.65rem;
    color: #8C8C84;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: none;
}

.filter-select-box {
    flex: 1;
    min-width: 140px;
}

.filter-per-page {
    flex: 0 0 100px;
    min-width: 95px;
}

.form-control-filter {
    width: 100%;
    padding: 0.38rem 0.65rem;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    background: #FFFFFF;
    color: #3F403B;
    height: 33px;
    cursor: pointer;
}

.form-control-filter:focus {
    outline: none;
    border-color: #F8B81F;
}

.btn-search-go {
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 800;
    height: 33px;
}

/* Tabla de Minería */
.table-responsive-wrapper {
    overflow-x: auto;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
}

.data-table-mining {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

.data-table-mining thead th {
    background-color: #3F403B;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.75rem 0.65rem;
    border-bottom: 2.5px solid #F8B81F;
    white-space: nowrap;
}

.data-table-mining tbody td {
    padding: 0.75rem 0.65rem;
    border-bottom: 1px solid #ECEBEA;
    vertical-align: middle;
}

.table-row-item:hover {
    background-color: #FAF9F8;
}

.dni-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 800;
    color: #3F403B;
    font-family: monospace;
    font-size: 0.82rem;
    background: #EAEAE8;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    border: 1px solid #DAD9D8;
    white-space: nowrap;
}

.conductor-name-cell {
    display: flex;
    flex-direction: column;
}

.conductor-name-cell strong {
    color: #3F403B;
    font-size: 0.84rem;
    font-weight: 800;
}

.conductor-name-cell .sub-text {
    font-size: 0.72rem;
    color: #8C8C84;
}

.cargo-cell {
    display: flex;
    flex-direction: column;
}

.cargo-cell span {
    font-weight: 700;
    color: #3F403B;
    font-size: 0.8rem;
}

.cargo-cell .area-tag {
    font-size: 0.7rem;
    color: #8C8C84;
}

.badge-titular {
    background: #FFF8E6;
    color: #3F403B;
    font-weight: 800;
    font-size: 0.74rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #F8B81F;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-contrata {
    background: #F8F8F7;
    color: #5C5D56;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #DAD9D8;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.equipo-tag {
    background: #F8F8F7;
    color: #3F403B;
    font-weight: 700;
    font-size: 0.74rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #DAD9D8;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.licencia-cell {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
}

.cat-pill {
    background: #3F403B;
    color: #F8B81F;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.08rem 0.3rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.nota-cell {
    display: flex;
    flex-direction: column;
    font-size: 0.71rem;
    line-height: 1.15;
    white-space: nowrap;
}

.status-pill {
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.status-pendiente, .status-enviada { background-color: #FFF8E6; color: #D49010; border: 1px solid #F8B81F; }
.status-aprobado, .status-autorizado { background-color: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.status-desaprobado, .status-rechazado, .status-observado { background-color: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.status-borrador { background-color: #F1F5F9; color: #64748B; border: 1px solid #CBD5E1; }

.action-buttons-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
}

.btn-action-icon {
    width: 25px;
    height: 25px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-action-edit {
    background: #FFF8E6;
    color: #D49010;
    border: 1px solid #F8B81F;
}

.btn-action-edit:hover {
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
}

.btn-action-eval {
    background: #3F403B;
    color: #F8B81F;
    border: 1px solid #3F403B;
}

.btn-action-eval:hover {
    background: #2A2B27;
    color: #FFFFFF;
}

.btn-action-print {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.btn-action-print:hover {
    background: #059669;
    color: #FFFFFF;
}

.btn-action-fotocheck {
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

.btn-action-fotocheck:hover {
    background: #0f766e;
    color: #FFFFFF;
    border-color: #0f766e;
}

.btn-action-disabled {
    background: #F4F4F3;
    color: #8C8C84;
    border: 1px solid #DAD9D8;
    cursor: not-allowed;
}

/* Paginación */
.table-pagination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.15rem;
    padding: 0.5rem 0.25rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    font-size: 0.78rem;
    color: #5C5D56;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.page-nav-btn {
    padding: 0.35rem 0.75rem;
    background-color: #F8F8F7;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-sm);
    color: #3F403B;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
}

.page-nav-btn:hover:not(.disabled) {
    background-color: #3F403B;
    color: #F8B81F;
    border-color: #3F403B;
}

.page-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-num {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #3F403B;
    background-color: #F8F8F7;
    border: 1.5px solid #DAD9D8;
    transition: all 0.15s ease;
}

.page-num:hover:not(.active) {
    background-color: #DAD9D8;
}

.page-num.active {
    background-color: #3F403B;
    color: #F8B81F;
    border-color: #3F403B;
    box-shadow: 0 2px 6px rgba(63, 64, 59, 0.2);
}

/* ==========================================================================
   FORMULARIO PERSONAL NUEVO Y SELECCIÓN DE SOLICITUD
   ========================================================================== */

.form-page-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.sketch-card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem 0;
}

.sketch-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    width: 100%;
    max-width: 540px;
    border: 1.5px solid #DAD9D8;
}

.sketch-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #DAD9D8;
}

.sketch-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(239, 170, 34, 0.35);
}

.sketch-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #3F403B;
}

.sketch-subtitle {
    font-size: 0.85rem;
    color: #5C5D56;
    font-weight: 600;
}

.radio-group-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.custom-radio-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    border: 1.5px solid #DAD9D8;
    background-color: #F8F8F7;
    cursor: pointer;
    transition: all 0.15s ease;
}

.custom-radio-card:hover {
    border-color: #F8B81F;
    background-color: #FFFDF7;
}

.custom-radio-card.active {
    border-color: #EFAA22;
    background-color: #FFFBF0;
    box-shadow: 0 3px 10px rgba(239, 170, 34, 0.15);
}

.custom-radio-card input[type="radio"] { display: none; }

.radio-indicator {
    font-size: 1.15rem;
    color: #EFAA22;
    margin-top: 0.05rem;
}

.radio-content {
    display: flex;
    flex-direction: column;
}

.radio-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #3F403B;
    margin-bottom: 0.15rem;
}

.radio-desc {
    font-size: 0.76rem;
    color: #5C5D56;
    line-height: 1.3;
}

.sketch-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ==========================================================================
   FORMULARIO PERSONAL NUEVO FULL-WIDTH, 2 COLUMNAS Y FOOTER STICKY
   ========================================================================== */

.form-fullwidth-container {
    width: 100%;
    animation: fadeInSlide 0.3s ease-out;
}

.form-card-fullwidth {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    width: 100%;
    border: 1.5px solid #DAD9D8;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 110px);
    overflow: hidden;
}

#formPersonalNuevo {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* 1. Header fijo en la parte superior */
.form-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.85rem 0.95rem;
    border-bottom: 2px solid #DAD9D8;
    background: #FFFFFF;
    flex-shrink: 0;
    z-index: 10;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-title-group {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.form-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(239, 170, 34, 0.35);
    flex-shrink: 0;
}

.form-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #3F403B;
    letter-spacing: -0.3px;
}

.form-main-subtitle {
    font-size: 0.8rem;
    color: #5C5D56;
    font-weight: 600;
}

/* 2. Cuerpo central con scroll vertical propio */
.form-body-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 1.35rem 1.85rem;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #EFAA22 #F0F0EE;
}

.form-body-scrollable::-webkit-scrollbar {
    width: 8px;
}

.form-body-scrollable::-webkit-scrollbar-track {
    background: #F0F0EE;
    border-radius: 4px;
}

.form-body-scrollable::-webkit-scrollbar-thumb {
    background: #EFAA22;
    border-radius: 4px;
}

.form-body-scrollable::-webkit-scrollbar-thumb:hover {
    background: #F8B81F;
}

/* Distribución en 2 Grandes Columnas que llenan todo el ancho */
.form-2cols-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.form-col-section {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.form-block-card {
    background: #FAFAFA;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-block-card:hover {
    border-color: rgba(248, 184, 31, 0.8);
    box-shadow: 0 4px 12px rgba(63, 64, 59, 0.05);
}

.form-block-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #3F403B;
    letter-spacing: 0.5px;
    padding-bottom: 0.55rem;
    margin-bottom: 0.85rem;
    border-bottom: 2px solid #DAD9D8;
}

.form-block-header i {
    color: #EFAA22;
    font-size: 0.95rem;
}

.form-block-header .block-badge {
    margin-left: auto;
    font-size: 0.68rem;
    background: #3F403B;
    color: #F8B81F;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

/* Grids internos */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.85rem;
}

.form-grid-2-equal {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.85rem;
}

.full-width {
    grid-column: 1 / -1;
}

.empresa-radio-box {
    display: flex;
    gap: 1.25rem;
    background-color: #FFFFFF;
    border: 1.5px solid #DAD9D8;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
}

.empresa-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #3F403B;
    cursor: pointer;
}

/* Barra inferior de acciones (Sticky y siempre visible) */
.form-footer-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    padding: 0.85rem 1.85rem;
    border-top: 2px solid #DAD9D8;
    background: #FAFAFA;
    box-shadow: 0 -4px 12px rgba(63, 64, 59, 0.06);
    flex-shrink: 0;
    z-index: 10;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-footer-note {
    font-size: 0.78rem;
    color: #5C5D56;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.form-footer-note i {
    color: #EFAA22;
    font-size: 0.95rem;
}

.form-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Compatibilidad con clases antiguas */
.form-page-container {
    width: 100%;
}
.form-card-step3 {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.75rem 2rem;
    width: 100%;
    max-width: 100%;
    border: 1.5px solid #DAD9D8;
}

/* ==========================================================================
   DOCUMENTOS Y EVALUACIÓN
   ========================================================================== */

.conductor-summary-bar {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    background: #F8F8F7;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.summary-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 3px 8px rgba(239, 170, 34, 0.35);
}

.summary-details h3 {
    font-size: 1.05rem;
    color: #3F403B;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.summary-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #5C5D56;
}

.badge-empresa-tag {
    background-color: #FFF8E6;
    color: #3F403B;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-weight: 800;
    border: 1px solid #F8B81F;
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.doc-upload-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #DAD9D8;
    background-color: #F8F8F7;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    min-height: 60px;
    height: 60px;
    overflow: hidden;
}

.doc-upload-card.has-file {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.doc-icon {
    font-size: 1.45rem;
    color: #EFAA22;
    flex-shrink: 0;
}

.doc-upload-card.has-file .doc-icon { color: #10b981; }

.doc-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.doc-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #3F403B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.doc-status {
    font-size: 0.68rem;
    color: #8C8C84;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 1.2;
    margin-top: 2px;
}

.doc-status span,
.doc-status a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
}

.doc-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.btn-file-view {
    background: #3F403B;
    color: #F8B81F;
    border: 1.5px solid #3F403B;
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-file-view:hover {
    background: #2A2B27;
    color: #FFFFFF;
    border-color: #F8B81F;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(63, 64, 59, 0.25);
}

.btn-file-view.hidden-btn {
    display: none !important;
}

.modal-doc-viewer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(42, 43, 39, 0.82);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-doc-viewer-backdrop.show {
    display: flex;
}

.modal-doc-viewer-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 950px;
    height: 88vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #3F403B;
    animation: modalScaleIn 0.2s ease-out;
}

.modal-doc-viewer-header {
    background: #3F403B;
    color: #FFFFFF;
    padding: 0.85rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #F8B81F;
}

.modal-doc-viewer-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #FFFFFF;
}

.modal-doc-viewer-title i {
    color: #F8B81F;
}

.modal-doc-viewer-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-doc-viewer-body {
    flex: 1;
    background: #525659;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-doc-viewer-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #FFFFFF;
}

.modal-doc-viewer-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    background: #FFFFFF;
}

.btn-file-upload {
    background-color: #FFFFFF;
    border: 1.5px solid #DAD9D8;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: #3F403B;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.15s ease;
}

.btn-file-upload input[type="file"] { display: none; }

.btn-file-upload:hover {
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    border-color: #F8B81F;
}

.doc-submit-row {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.eval-box {
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    background-color: #FFFFFF;
}

.eval-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #3F403B;
    margin-bottom: 0.95rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid #DAD9D8;
}

.eval-box-header i { color: #EFAA22; }

.form-hint {
    font-size: 0.72rem;
    color: #8C8C84;
    margin-top: 0.25rem;
    display: block;
}

.practico-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.check-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-md);
    background-color: #F8F8F7;
    cursor: pointer;
    transition: all 0.15s ease;
}

.check-card input[type="checkbox"] { display: none; }

.check-box-icon {
    width: 22px;
    height: 22px;
    border: 1.5px solid #8C8C84;
    border-radius: 4px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    margin-top: 0.1rem;
    transition: all 0.15s ease;
}

.check-card.checked {
    border-color: #10b981;
    background-color: #ecfdf5;
}

.check-card.checked .check-box-icon {
    background-color: #10b981;
    border-color: #10b981;
    color: #FFFFFF;
}

.check-text {
    display: flex;
    flex-direction: column;
}

.check-text strong {
    font-size: 0.85rem;
    color: #3F403B;
}

.check-text span {
    font-size: 0.74rem;
    color: #5C5D56;
}

.file-uploaded-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #059669;
    font-weight: 700;
    margin-top: 0.35rem;
}

.eval-result-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #F8F8F7;
    border: 2px solid #DAD9D8;
    border-radius: var(--radius-lg);
}

.result-indicator-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.result-indicator-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #3F403B;
}

.status-verdict {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    letter-spacing: 0.5px;
}

.verdict-aprobado {
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #34d399;
}

.verdict-desaprobado {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #f87171;
}

.verdict-pendiente {
    background-color: #FFF8E6;
    color: #D49010;
    border: 2px solid #F8B81F;
}

.eval-actions {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 0.8fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #FFFFFF;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.disabled-btn {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

/* ==========================================================================
   ELEMENTOS DE FORMULARIO COMUNES
   ========================================================================== */

.form-group {
    margin-bottom: 0.6rem;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #3F403B;
    margin-bottom: 0.2rem;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.form-label i {
    color: #EFAA22;
    margin-right: 0.25rem;
    font-size: 0.78rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control {
    width: 100%;
    padding: 0.42rem 0.75rem;
    height: 36px;
    font-size: 0.82rem;
    font-family: inherit;
    color: #3F403B;
    background-color: #F8F8F7;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #F8B81F;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(248, 184, 31, 0.2);
}

.select-custom {
    appearance: none;
    cursor: pointer;
    background-color: #F8F8F7;
    padding-right: 2.2rem;
}

.select-arrow {
    position: absolute;
    right: 0.75rem;
    pointer-events: none;
    color: #8C8C84;
    font-size: 0.7rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.42rem 0.85rem;
    height: 36px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
    text-decoration: none;
    text-align: center;
}

.btn-sm {
    height: 32px;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
}

.btn-primary {
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    box-shadow: 0 3px 8px rgba(239, 170, 34, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #EFAA22 0%, #D49010 100%);
    box-shadow: 0 4px 12px rgba(212, 144, 16, 0.4);
    transform: translateY(-1px);
    color: #2A2B27;
}

.btn-secondary {
    background-color: #3F403B;
    color: #FFFFFF;
    border: 1.5px solid #3F403B;
}

.btn-secondary:hover {
    background-color: #2A2B27;
    color: #FFFFFF;
    border-color: #2A2B27;
}

.btn-warning {
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    color: #2A2B27;
    box-shadow: 0 3px 8px rgba(239, 170, 34, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #EFAA22 0%, #D49010 100%);
    color: #2A2B27;
    transform: translateY(-1px);
}

/* ==========================================================================
   LOGIN (PÁGINA PÚBLICA)
   ========================================================================== */

.public-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: 
        radial-gradient(circle at 15% 25%, #3F403B 0%, #252622 90%),
        repeating-linear-gradient(45deg, rgba(248, 184, 31, 0.02) 0px, rgba(248, 184, 31, 0.02) 2px, transparent 2px, transparent 8px);
    position: relative;
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 380px;
    z-index: 10;
    margin: auto;
}

.login-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.45), 0 6px 12px -3px rgba(0, 0, 0, 0.2);
    padding: 1.35rem 1.5rem 1.15rem;
    border: 1px solid #DAD9D8;
    border-top: 3.5px solid #F8B81F;
    position: relative;
    animation: fadeInSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-header {
    text-align: center;
    margin-bottom: 0.85rem;
}

.mining-emblem {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.4rem;
    background: linear-gradient(135deg, #F8B81F 0%, #EFAA22 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2A2B27;
    font-size: 1.15rem;
    box-shadow: 0 3px 10px rgba(248, 184, 31, 0.4);
    border: 2px solid #FFFFFF;
}

.login-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #3F403B;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.company-subheading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #5C5D56;
    letter-spacing: 0.4px;
    margin-bottom: 0.15rem;
}

.badge-alpayana {
    background-color: #FFFDF7;
    color: #3F403B;
    padding: 0.08rem 0.45rem;
    border-radius: 4px;
    border: 1px solid #F8B81F;
    font-size: 0.62rem;
    font-weight: 800;
}

.login-instruction {
    font-size: 0.72rem;
    color: #8C8C84;
    margin: 0.2rem 0 0 0;
    font-weight: 500;
}

.input-with-icon {
    padding-left: 2.25rem !important;
}

.input-icon-left {
    position: absolute;
    left: 0.75rem;
    color: #8C8C84;
    font-size: 0.82rem;
    pointer-events: none;
    z-index: 2;
}

.login-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 1.1rem;
    width: 100%;
}

.login-actions .btn {
    min-width: 180px;
    justify-content: center;
    padding: 0.65rem 1.8rem;
}

.btn-toggle-pwd {
    position: absolute;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: #8C8C84;
    cursor: pointer;
    padding: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    z-index: 3;
    transition: color 0.15s ease;
}

.btn-toggle-pwd:hover {
    color: #3F403B;
}

.login-card-footer {
    text-align: center;
    font-size: 0.68rem;
    color: #8C8C84;
    border-top: 1px solid #ECEBEA;
    margin-top: 0.95rem;
    padding-top: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    letter-spacing: 0.2px;
}

.login-card-footer i {
    color: #EFAA22;
    font-size: 0.78rem;
}

.main-footer {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    z-index: 85;
    background-color: #3F403B;
    color: #DAD9D8;
    padding: 0.65rem 1.25rem;
    font-size: 0.75rem;
    border-top: 2.5px solid #F8B81F;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
    transition: left 0.25s ease;
}

.sidebar-collapsed .main-footer {
    left: var(--sidebar-collapsed-width);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.main-footer strong { color: #F8B81F; }
.system-version { color: #F8B81F; font-weight: 600; }

/* ==========================================================================
   RESPONSIVIDAD AVANZADA (TABLET Y CELULAR)
   ========================================================================== */

/* Tablets (hasta 992px) */
@media (max-width: 992px) {
    .app-sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-width) !important;
    }

    .app-main-wrapper {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .main-footer {
        left: 0 !important;
    }

    .btn-toggle-menu {
        display: inline-flex;
    }

    .navbar-brand-mobile {
        display: flex;
    }

    .sidebar-open-mobile .app-sidebar {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(42, 43, 39, 0.6);
        backdrop-filter: blur(2px);
        z-index: 95;
        display: none;
    }

    .sidebar-open-mobile .sidebar-backdrop {
        display: block;
    }

    .stats-grid-analytics,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .analytics-charts-grid {
        grid-template-columns: 1fr;
    }

    .app-content-body {
        padding: 1rem;
    }

    .form-2cols-wrapper {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-card-fullwidth {
        padding: 1.25rem 1.15rem;
    }

    .form-card-step3 {
        padding: 1.5rem;
    }
}

/* Celulares (hasta 576px) */
@media (max-width: 576px) {
    .stats-grid-analytics,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-2,
    .form-grid-3,
    .form-grid-2-equal {
        grid-template-columns: 1fr;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .sketch-actions,
    .step3-actions {
        grid-template-columns: 1fr;
    }

    .empresa-radio-box {
        flex-direction: column;
        gap: 0.6rem;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input-box,
    .filter-select-box {
        width: 100%;
    }

    .table-header-row {
        flex-direction: column;
    }

    .nav-btn-action span,
    .user-text-nav {
        display: none;
    }

    .analytics-title {
        font-size: 1.2rem;
    }

    .eval-actions {
        grid-template-columns: 1fr;
    }

    .table-pagination-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   INTERRUPTOR TOGGLE SWITCH (ACTIVAR / DESACTIVAR EN CASCADA)
   ========================================================================== */

.toggle-switch-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dc2626;
    transition: .25s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

input:checked + .slider {
    background-color: #15803d;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle-label-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    min-width: 65px;
    text-align: left;
}

.row-inactive-bg {
    background-color: rgba(220, 38, 38, 0.04) !important;
    opacity: 0.82;
}

.badge-titular {
    background-color: #FFF8E6;
    color: #2A2B27;
    border: 1.5px solid #F8B81F;
    font-weight: 800;
}

.badge-contrata {
    background-color: #F0F0EE;
    color: #3F403B;
    border: 1.5px solid #8C8C84;
    font-weight: 700;
}

.badge-pill-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #FAFAFA;
    border: 1px solid #DAD9D8;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #3F403B;
}

/* ==========================================================================
   MODAL PERSONALIZADO (NUEVA EMPRESA)
   ========================================================================== */

.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(42, 43, 39, 0.7);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

.custom-modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #F8B81F;
    overflow: hidden;
    animation: fadeInSlide 0.25s ease-out;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.custom-modal-header {
    background: #3F403B;
    color: #FFFFFF;
    padding: 1.15rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #F8B81F;
}

.modal-title-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.modal-title-box i {
    font-size: 1.5rem;
    color: #F8B81F;
}

.modal-title-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.modal-title-box p {
    font-size: 0.72rem;
    color: #DAD9D8;
    margin: 0;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: #DAD9D8;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.btn-close-modal:hover {
    color: #F8B81F;
}

.custom-modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    flex: 1;
}

.modal-section-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #3F403B;
    letter-spacing: 0.5px;
    padding-bottom: 0.4rem;
    margin-bottom: 0.85rem;
    border-bottom: 1.5px solid #DAD9D8;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.modal-section-title i {
    color: #EFAA22;
}

.info-callout-box {
    background-color: #FFFDF7;
    border: 1.5px solid #F8B81F;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
    color: #3F403B;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.info-callout-box i {
    color: #EFAA22;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.custom-modal-footer {
    background: #FAFAFA;
    padding: 1rem 1.75rem;
    border-top: 1.5px solid #DAD9D8;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ==========================================================================
   ROLE PILL BADGES & MULTI-TENANT UI
   ========================================================================== */
.badge-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.badge-role-pill.role-superadmin {
    background: rgba(248, 184, 31, 0.2);
    color: #F8B81F;
    border: 1px solid rgba(248, 184, 31, 0.4);
}

.badge-role-pill.role-admin-empresa {
    background: rgba(239, 170, 34, 0.18);
    color: #EFAA22;
    border: 1px solid rgba(239, 170, 34, 0.35);
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-role-pill.role-trabajador {
    background: #3F403B !important;
    color: #FFFFFF !important;
    border: 1px solid #2A2B27 !important;
    font-weight: 800;
}

.badge-role-pill.role-trabajador i {
    color: #F8B81F !important;
}

/* Worker Portal Profile & Status Card */
.worker-card-profile {
    background: #FFFFFF;
    border: 1.5px solid #DAD9D8;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.worker-card-header {
    background: linear-gradient(135deg, #3F403B 0%, #2A2B27 100%);
    padding: 1.5rem 2rem;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #F8B81F;
}

.worker-card-body {
    padding: 2rem;
}

