@import 'tokens.css';

/* --- SISTEMA DE DISEÑO PREMIUM - GRUPO ALLEGUE --- */

:root {
    --primary-color: #bd0f32; /* Rojo Corporativo Oficial */
    --primary-hover: #9c0c28;
    --secondary-color: #d97706; /* Dorado elegante */
    --secondary-hover: #b45309;
    --dark-bg: #2b2b2b; /* Gris oscuro para textos principales */
    --dark-surface: #374151; /* Gris carbón */
    --light-bg: #ebebeb; /* Gris claro oficial de la web */
    --text-main: #222222;
    --text-muted: #555555;
    --white: #ffffff;
    --border-color: #cccccc;
    --success: #10b981;
    --error: #d60404;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-premium: 0 10px 15px -3px rgb(189 15 50 / 0.05), 0 4px 6px -4px rgb(189 15 50 / 0.05);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --transition: all 0.25s ease-in-out;
    
    /* --- OPTIMIZACIÓN UI/UX (PILAR 3 & 5) --- */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 800;
    
    --transition-snappy: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: var(--body-font-size);
    font-weight: var(--font-weight-regular);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-snappy);
}

a:hover {
    color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    color: var(--dark-bg);
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- BARRA DE NAVEGACIÓN --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--navbar-height);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    height: 100%;
}

.navbar-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-icon {
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 5px;
    height: 100%;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition);
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--white) !important;
    background-color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.nav-link-toggle {
    background: none;
    border: none;
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    text-transform: uppercase;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.nav-link-toggle:hover {
    color: var(--white) !important;
    background-color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(189, 15, 50, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(189, 15, 50, 0.3);
}

.admin-btn {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.admin-btn:hover {
    background-color: var(--dark-surface) !important;
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.3);
}

.logout-link {
    color: var(--error) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-bg);
}

/* --- BANNER DE MENSAJES FLASH --- */
.flash-banner-container {
    max-width: 1200px;
    margin: 15px auto 0 auto;
    padding: 0 24px;
    animation: fadeInUp 0.4s ease-out;
}

.flash-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
}

.flash-banner.success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 5px solid var(--success);
}

.flash-banner.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 5px solid var(--error);
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flash-content i {
    font-size: 1.2rem;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* --- CONTENIDO PRINCIPAL --- */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

.main-content.admin-layout-wide {
    max-width: 98% !important; /* Stretch to occupy the screen and move the sidebar to the extreme left */
    width: 98% !important;
    padding: 20px 15px !important;
}

/* --- PORTADA / HOME --- */
.hero-section {
    text-align: center;
    padding: 60px 20px 40px 20px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark-bg) 40%, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

/* Grid de Opciones del Portal */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.portal-card {
    background: var(--white);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.4s var(--transition-snappy), box-shadow 0.4s var(--transition-snappy), border-color 0.4s var(--transition-snappy);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--transition-snappy);
}

.portal-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(189, 15, 50, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: rgba(189, 15, 50, 0.15);
}

.portal-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: transform 0.4s var(--transition-elastic), color 0.4s var(--transition-snappy);
}

.portal-card:hover .card-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    background: var(--light-bg);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border: 1px solid var(--border-color);
}

.portal-card:hover .card-link {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(189, 15, 50, 0.2);
}

/* --- FORMULARIOS (FORMULARIOS DE PÁGINAS) --- */
.form-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.5s ease-out;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-muted);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--dark-bg);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: var(--input-padding-y) var(--input-padding-x);
    height: var(--input-height);
    line-height: normal;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--light-bg);
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(189, 15, 50, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* File Input Wrapper */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    background: var(--light-bg);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: rgba(189, 15, 50, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: var(--transition);
}

.file-upload-wrapper:hover .file-upload-icon {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.file-name-preview {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Botones */
.btn {
    width: 100%;
    padding: var(--btn-padding-y) var(--btn-padding-x);
    height: var(--btn-height);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(189, 15, 50, 0.15);
    transition: transform 0.2s var(--transition-snappy), background-color 0.2s var(--transition-snappy), box-shadow 0.2s var(--transition-snappy);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(189, 15, 50, 0.25);
}

/* Micro-interactividad táctil (click) */
.btn:active, .nav-btn:active, .filter-chip:active, .tab-btn:active, .clima-tab-btn:active, .btn-download:active, .pagination-btn:active, .brand-social-link:active {
    transform: scale(0.96) !important;
}

/* --- TABLAS (VISTA ADMIN) --- */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.admin-title-area h2 {
    font-size: 2rem;
    font-weight: 800;
}

.admin-title-area p {
    color: var(--text-muted);
}

/* Pestañas (Tabs) */
.tabs-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-bottom: 2px solid var(--border-color);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.tabs-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-btn, .clima-tab-btn {
    background: none;
    border: none;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--body-font-size);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover, .clima-tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active, .clima-tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after, .clima-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

/* --- DASHBOARD ADMINISTRATIVE LAYOUT WITH SIDEBAR --- */
.admin-dashboard-layout {
    display: flex;
    gap: 12px; /* Bring sidebar and content even closer */
    align-items: flex-start;
    margin-top: 10px;
    transition: var(--transition);
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 12px 10px; /* Reduced padding to maximize content area */
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    position: sticky;
    top: 55px; /* Slightly higher position under navbar */
    max-height: calc(100vh - 80px);
    overflow: visible; /* Prevents clipping of the toggle button outside the sidebar */
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado contraído del Sidebar */
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar {
    width: 52px; /* Extremely compact collapsed state */
    padding: 40px 4px 12px 4px; /* Extra top padding to leave room for the toggle button */
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar-header {
    display: none !important; /* Hide header completely in collapsed mode */
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar .tab-btn {
    justify-content: center;
    padding: 8px 0;
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar .tab-btn span:not(.tab-count) {
    display: none;
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar .tab-btn i {
    font-size: 1.1rem;
    margin: 0;
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar .tab-btn .tab-count {
    position: absolute;
    top: 0px;
    right: 0px;
    margin-left: 0;
    font-size: 0.6rem;
    padding: 1px 3px;
    min-width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar-footer .btn-logout span {
    display: none;
}
.admin-dashboard-layout.sidebar-collapsed .admin-sidebar-footer .btn-logout {
    padding: 8px 0;
    justify-content: center;
}

/* Botón flotante para colapsar */
.sidebar-toggle-btn {
    position: absolute;
    top: 12px; /* Adjusted to match new sidebar padding */
    right: -10px; /* Slightly closer to edge */
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--text-muted);
    z-index: 10;
    transition: var(--transition);
}
.sidebar-toggle-btn:hover {
    color: var(--primary-color);
    background-color: #f8fafc;
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.sidebar-toggle-btn i {
    font-size: 0.75rem; /* Smaller toggle arrow */
}
.admin-dashboard-layout.sidebar-collapsed .sidebar-toggle-btn i {
    transform: rotate(180deg);
}

/* Estilos de Chips de Filtro */
.filter-chip {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.filter-chip:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(189, 15, 50, 0.02);
}
.filter-chip.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(189, 15, 50, 0.15);
}

/* Controles de Paginación */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    margin-bottom: 10px;
}
.pagination-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}
.pagination-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 10px;
}

.admin-sidebar-menu::-webkit-scrollbar {
    width: 5px;
}
.admin-sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}
.admin-sidebar-menu::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

.admin-sidebar-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 0px;
}

.admin-sidebar-header h3 {
    font-size: 0.9rem; /* Smaller title font */
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.admin-sidebar-header p {
    font-size: 0.75rem; /* Smaller subtitle font */
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.3;
}

.admin-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 3px; /* Tighter gap */
    overflow-y: auto; /* Vertically scrollable menu items */
    overflow-x: hidden;
    padding-right: 2px; /* Small spacing for scrollbar */
    max-height: calc(100vh - 240px); /* Leave room for header and footer */
}

.admin-sidebar .tab-btn {
    display: flex;
    align-items: center;
    gap: 6px; /* Tighter spacing */
    width: 100%;
    padding: 7px 10px; /* Tighter padding to save space */
    border: 1px solid transparent;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 0.8rem; /* Smaller typography to prevent wrap/overflow */
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.admin-sidebar .tab-btn::after {
    display: none; /* Disable top underline indicator */
}

.admin-sidebar .tab-btn i {
    font-size: 0.95rem; /* Smaller icons */
    color: var(--text-muted);
    width: 16px; /* Narrower width for alignment */
    text-align: center;
    transition: var(--transition);
}

.admin-sidebar .tab-btn:hover {
    background: rgba(189, 15, 50, 0.04);
    color: var(--primary-color);
}

.admin-sidebar .tab-btn:hover i {
    color: var(--primary-color);
}

.admin-sidebar .tab-btn.active {
    background: rgba(189, 15, 50, 0.08);
    color: var(--primary-color);
    border-color: rgba(189, 15, 50, 0.12);
    border-left: 3px solid var(--primary-color); /* Thinner border */
    padding-left: 7px; /* Compensate for border-left width */
}

.admin-sidebar .tab-btn.active i {
    color: var(--primary-color);
}

.admin-sidebar .tab-btn .tab-count {
    margin-left: auto;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
    font-size: 0.65rem; /* Smaller badge font */
    padding: 1px 5px; /* Tighter badge padding */
    border-radius: 20px;
    font-weight: 700;
    transition: var(--transition);
}

.admin-sidebar .tab-btn.active .tab-count {
    background: var(--primary-color);
    color: var(--white);
}

.admin-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.admin-sidebar-footer .btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 6px 8px; /* Tighter logout button padding */
    background: var(--light-bg);
    color: var(--primary-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.78rem; /* Smaller logout font */
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.admin-sidebar-footer .btn-logout:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.admin-content-area {
    flex: 1;
    min-width: 0; /* Prevents container overflow in flex layouts */
}

/* --- COLLAPSIBLE DATAROWS SYSTEM --- */
.candidate-row-card {
    border-left: 5px solid var(--primary-color) !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-sm);
}

.candidate-row-card:hover {
    background-color: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.toggle-chevron {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.candidate-details-collapsible {
    animation: slideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .admin-dashboard-layout {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
    .admin-sidebar-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .admin-sidebar .tab-btn {
        width: auto;
    }
    .admin-sidebar-footer {
        width: 100%;
    }
}

/* Card Contenedor de Tabla */
.table-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.admin-table th {
    background: var(--light-bg);
    padding: var(--table-cell-padding-y) var(--table-cell-padding-x);
    font-weight: 600;
    color: var(--dark-bg);
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: var(--table-cell-padding-y) var(--table-cell-padding-x);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background-color: rgba(189, 15, 50, 0.01);
}

/* Badges (Estatus) */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.categoria {
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--dark-bg);
}

.badge.recibido {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge.solicitada {
    background-color: #fef3c7;
    color: #d97706;
}

.badge.entregada {
    background-color: #e0e7ff;
    color: #4338ca;
}

.badge.evaluacion {
    background-color: #f3e8ff;
    color: #7e22ce;
}

.badge.aprobado {
    background-color: #d1fae5;
    color: #047857;
}

.badge.rechazado {
    background-color: #fee2e2;
    color: #b91c1c;
}

/* Botón descargar */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--light-bg);
    color: var(--text-main);
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-download:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Formulario Inline CRM */
.crm-inline-form {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.crm-inline-form .form-group {
    margin-bottom: 0;
}

.crm-inline-form .btn {
    padding: 11px 20px;
    font-size: 0.9rem;
    width: auto;
}

.action-cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- PIE DE PÁGINA --- */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 40px 24px;
    margin-top: auto;
    border-top: 4px solid var(--primary-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-brands {
    display: flex;
    justify-content: center;
    gap: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #d1d5db; /* Gris elegante a juego con la misión */
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-brands a {
    color: #d1d5db; /* Gris elegante a juego con la misión */
    transition: var(--transition);
}

.footer-brands a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
        animation: fadeIn 0.3s ease-out;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 12px;
    }

    .nav-link-toggle {
        display: flex;
        width: 100%;
        padding: 12px;
        justify-content: center;
        align-items: center;
    }

    .nav-btn {
        display: block;
        width: 100%;
        border-radius: var(--radius-sm);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .form-container {
        padding: 24px;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* --- SECCIÓN DE LOGOS DE MARCAS (NUEVO) --- */
.brands-logo-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin: 40px 0;
    text-align: center;
}

.brands-logo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.brands-logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-logo-item {
    height: 70px;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.brand-logo-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-logo-item.hexagon-logo {
    height: 90px; /* Un poco más grande para el símbolo principal */
}

/* --- TEST PSICOMÉTRICO (NUEVO) --- */
.test-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    max-width: 750px;
    margin: 0 auto;
}

.test-question-box {
    background: var(--light-bg);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 25px;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.test-question-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-bg);
    font-size: 1.05rem;
}

.test-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.test-option-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.test-option-label:hover {
    border-color: var(--primary-color);
    background: rgba(71, 85, 105, 0.02);
}

.test-option-label input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.test-option-label.selected {
    border-color: var(--primary-color);
    background: rgba(71, 85, 105, 0.05);
}

/* --- SECCIÓN CONSULTA DE ESTATUS (NUEVO) --- */
.search-status-box {
    margin-top: 30px;
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    text-align: left;
}

.status-result-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}

.status-result-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.status-result-row:last-child {
    border-bottom: none;
}

.status-result-label {
    font-weight: 600;
    color: var(--text-muted);
}

.status-result-value {
    font-weight: 700;
    color: var(--dark-bg);
}

.test-answers-viewer {
    margin-top: 15px;
    font-size: 0.9rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 15px;
    border: 1px solid var(--border-color);
}
.test-answer-item {
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}
.test-answer-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.test-answer-q {
    font-weight: 700;
    color: var(--dark-bg);
}
.test-answer-a {
    color: var(--text-muted);
    font-style: italic;
    margin-top: 3px;
}

/* --- CABECERA DE LA PÁGINA JOOMLA --- */
.header-top {
    background-color: var(--white);
    padding: 12px 24px;
    border-top: 4px solid var(--primary-color); /* Borde superior rojo de 4px */
}

.header-top-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-logo-link {
    display: block;
}

.header-logo-link img {
    height: 55px; /* Altura del logo de cabecera */
    display: block;
    object-fit: contain;
}

.header-contact-info {
    text-align: right;
    font-size: 0.85rem;
    color: #444444;
    line-height: 1.4;
}

.header-contact-info p {
    margin: 2px 0;
    font-weight: 500;
}

/* --- HERO BANNER CORPORATIVO --- */
.hero-banner {
    position: relative;
    background-image: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7)), url('../../imagenes/imagen-sala-juntas.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
}

.hero-banner-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.hero-banner-subtitle {
    color: #d1d5db; /* Gris elegante a juego con la misión */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 18px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-banner-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

/* --- TARJETAS CON FONDOS FOTOGRÁFICOS --- */
.card-header-img {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    position: relative;
    border-bottom: 2px solid var(--border-color);
}

.card-header-fachada {
    background-image: url('../../imagenes/fachada-rpj.jpg');
}

.card-header-parr {
    background-image: url('../../imagenes/fondo para parr.jpg');
}

.card-header-allegue {
    background-image: url('../../imagenes/fondo para allegue.jpg');
}

.card-header-juntas {
    background-image: url('../../imagenes/imagen-sala-juntas.jpg');
}

.card-header-barra {
    background-image: url('../../imagenes/imagen-barra-rpj.jpg');
}

.card-header-contacto {
    background-image: url('../../imagenes/contacto.png');
}

.card-header-proveedores {
    background-image: url('../../imagenes/proveedores.jpg');
}

.card-header-gulas {
    background-image: url('../../imagenes/gulas.jpg');
}

/* Modificaciones responsivas */
@media (max-width: 991px) and (min-width: 769px) {
    .brand-text {
        display: none;
    }
    .nav-link {
        padding: 0 8px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 50px 15px;
    }
    
    .hero-banner-title {
        font-size: 1.8rem;
    }
    
    .hero-banner-desc {
        font-size: 1rem;
    }
}

/* --- VENTANA MODAL DE SEGUIMIENTO --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-card {
    background: var(--white);
    padding: var(--modal-padding);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border-top: 5px solid var(--primary-color);
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-icon {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-card h2 {
    font-size: 1.6rem;
    color: var(--dark-bg);
    margin-bottom: 12px;
}

.modal-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.modal-code-box {
    background-color: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

#modal-tracking-code {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: monospace;
    letter-spacing: 1px;
}

.btn-copy {
    background-color: var(--dark-bg);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    width: auto !important; /* Override standard btn width */
}

.btn-copy:hover {
    background-color: var(--dark-surface);
}

.modal-alert-box {
    background-color: rgba(217, 119, 6, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: left;
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.modal-alert-box i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 2px;
}

.modal-alert-box p {
    font-size: 0.88rem;
    color: var(--secondary-hover);
    line-height: 1.4;
    margin-bottom: 0;
}

.btn-close-modal {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.btn-close-modal:hover {
    background-color: var(--primary-hover);
}

/* --- CLASES DE CONTENIDO DE MODAL --- */
.modal-content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: fadeInUp 0.3s ease-out;
}

.modal-header {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 20px;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.2rem;
}

.modal-header .btn-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: var(--transition);
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: var(--modal-body-padding);
}

.modal-footer {
    padding: var(--modal-footer-padding);
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}


/* ==================== SECCIÓN CORPORATIVA: NUESTRAS MARCAS ==================== */
.brand-banner-link {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-banner-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.brand-banner-link:hover .brand-banner-img {
    filter: brightness(1.03);
}

.brand-social-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.brand-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.brand-social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Carrusel de Platillos */
.brand-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    aspect-ratio: 1280 / 455;
}

.brand-carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.brand-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.brand-carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.brand-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-carousel-prev, .brand-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.brand-carousel-prev:hover, .brand-carousel-next:hover {
    background: var(--primary-color);
}

.brand-carousel-prev { left: 15px; }
.brand-carousel-next { right: 15px; }

@media (max-width: 768px) {
    .brand-social-bar {
        gap: 15px;
    }
    .brand-social-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .brand-carousel {
        aspect-ratio: 16 / 9;
    }
}

/* --- ESTILOS DE SECUENCIA DE ESTATUS (STEPPER) --- */
.stepper-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 40px 0 30px 0;
    padding: 0 5px;
}

.stepper-line-background {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e2e8f0;
    z-index: 1;
    border-radius: 2px;
}

.stepper-line-progress {
    position: absolute;
    top: 22px;
    left: 0;
    height: 4px;
    background-color: var(--success);
    z-index: 2;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    flex: 1;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 0 0 4px var(--white);
}

.step-item.active .step-circle {
    background-color: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--white), 0 4px 12px rgba(189, 15, 50, 0.2);
}

.step-item.completed .step-circle {
    background-color: var(--success);
    border-color: var(--success);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--white);
}

.step-item.rejected .step-circle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--white);
}

.step-label {
    margin-top: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.step-item.active .step-label {
    color: var(--primary-color);
}

.step-item.completed .step-label {
    color: var(--success);
}
