/* Estilos principales del Sistema de Gestión de Empleados - Tostaditos Susanita */
/* Colores corporativos: Principal #d31215, Secundario #fefefe, Variación #ff7e7e */

:root {
    --primary-color: #d31215;
    --secondary-color: #fefefe;
    --accent-color: #ff7e7e;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 8px rgba(0,0,0,0.15);
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-image: url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

/* Estilos para botones al final del formulario */
.form-footer-actions {
    display: flex;
    justify-content: center;
    padding: 15px 20px;
    margin-top: 15px;
}

.form-footer-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.form-footer-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para el login */
.login-body {
    background-image: url('../img/fondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-bottom: 80px;
    position: relative;
}

.login-body .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.login-container {
    width: 100%;
    max-width: 350px;
}

.login-card {
    background: var(--white);
    border-radius: 8px;
    padding: 50px 40px;
    box-shadow: var(--shadow-hover);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.login-title {
    font-family: 'QuentinPro', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: normal;
}

.login-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

.login-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.login-form .form-group input[type="text"],
.login-form .form-group input[type="password"] {
    width: 100% !important;
    padding: 8px 10px !important;
    border: 0.5px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    transition: border-color 0.3s ease !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.login-form .form-group input[type="text"]:focus,
.login-form .form-group input[type="password"]:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
}

.login-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #b00e11;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.login-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.login-footer p {
    margin-bottom: 5px;
}

/* Estilos principales de la aplicación */
.container {
    max-width: 95%;
    margin: 0 auto;
    background-color: transparent;
    min-height: 100vh;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}



/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: -280px;
    width: 280px;
    height: calc(100vh - 60px);
    background-color: #fafbfc;
    transition: left 0.3s ease;
    z-index: 90;
    overflow-y: auto;
    padding-top: 12px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    border-radius: 0 12px 12px 0;
    border-right: 1px solid rgba(212, 19, 22, 0.08);
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    border-bottom: 1px solid rgba(212, 19, 22, 0.06);
    margin-bottom: 12px;
    background-color: rgba(212, 19, 22, 0.02);
    border-radius: 0 8px 8px 0;
    margin: 0 8px 12px 0;
}

.sidebar-avatar {
    flex-shrink: 0;
}

.sidebar-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(212, 19, 22, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 19, 22, 0.1);
}

.sidebar-avatar-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(212, 19, 22, 0.15);
    border-color: rgba(212, 19, 22, 0.25);
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-title {
    color: #2c3e50;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    margin: 0 0 3px 0;
    letter-spacing: 0.2px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize !important;
}

.sidebar-role {
    color: #6c757d;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    margin: 0;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize !important;
    letter-spacing: 0.3px;
}


.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.sidebar-menu li {
    /* Sin bordes entre elementos */
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 400;
    border-radius: 10px;
    margin: 3px 12px;
    position: relative;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(212, 19, 22, 0.08);
    color: #2c3e50;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(212, 19, 22, 0.1);
    border: 1px solid rgba(212, 19, 22, 0.1);
}

.sidebar-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--module-primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.sidebar-menu a:hover::before,
.sidebar-menu a.active::before {
    height: 50%;
}

.sidebar-menu i {
    margin-right: 12px;
    width: 18px;
    text-align: center;
    color: #6c757d;
    font-size: 15px;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover i,
.sidebar-menu a.active i {
    color: var(--module-primary);
    transform: scale(1.05);
}

.sidebar-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: transparent;
    z-index: 85;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Insignia de notificación */
.sidebar-menu .badge {
    background-color: var(--module-primary);
    color: var(--white);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(212, 19, 22, 0.3);
}

/* Toggle de modo oscuro */
.dark-mode-toggle-container {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    margin-top: auto;
    color: var(--text-color);
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    border-top: 1px solid rgba(212, 19, 22, 0.1);
    background: rgba(212, 19, 22, 0.02);
}

.dark-mode-toggle-container i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    color: var(--text-color);
    font-size: 14px;
}

.dark-mode-toggle-container span {
    flex-grow: 1;
}

.dark-mode-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.dark-mode-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.dark-mode-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--module-border);
    transition: .4s;
    border-radius: 20px;
}

.dark-mode-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: var(--white);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .dark-mode-slider {
    background-color: var(--module-secondary);
}

input:focus + .dark-mode-slider {
    box-shadow: 0 0 1px var(--module-secondary);
}

input:checked + .dark-mode-slider:before {
    transform: translateX(20px);
}

.dark-mode-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* Botón de logout */
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--module-primary);
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    margin: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(212, 19, 22, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-logout-btn:hover {
    background-color: #b00e11;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 19, 22, 0.4);
}

.sidebar-logout-btn i {
    margin-right: 8px;
    color: var(--white);
    font-size: 14px;
}

.header {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 10px 19px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(212, 19, 22, 0.08);
    line-height: 1.2;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: rgba(212, 19, 22, 0.08);
    transform: scale(1.05);
}

.header-logo {
    max-width: 38px;
    height: auto;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.header-logo:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(212, 19, 22, 0.1);
}

.header-title {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin: 0;
    color: #2c3e50;
    letter-spacing: 0.2px;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.user-profile:hover {
    background-color: rgba(212, 19, 22, 0.05);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(212, 19, 22, 0.1);
    box-shadow: 0 2px 8px rgba(212, 19, 22, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 19, 22, 0.15);
    border-color: rgba(212, 19, 22, 0.2);
}

.user-avatar:active {
    transform: scale(1.02);
}

.user-text {
    color: #2c3e50;
    font-size: 11px;
    font-weight: 500;
}

.logout-btn {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.logout-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.logout-btn i {
    font-size: 16px;
}

.main-content {
    padding: 100px 0 30px 0;
    width: 100%;
    margin: 0;
    min-height: calc(100vh - 200px);
}

/* Panel de Control */
.control-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.control-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(212, 19, 22, 0.1);
}

.control-card:hover {
    box-shadow: 0 2px 8px rgba(212, 19, 22, 0.15);
}

.control-card-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.control-card-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.control-card-label {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.quick-action-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background-color: #b00e11;
}

.quick-action-btn i {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    backdrop-filter: blur(10px);
    margin-top: auto;
    text-align: center;
    color: rgb(102, 102, 102);
    font-size: 10px;
    font-weight: 500;
    box-shadow: rgba(212, 19, 22, 0.1) 0px -4px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-top: 3px solid rgba(212, 19, 22, 0.3);
    padding: 8px 0px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text {
    font-size: 10px;
    margin: 0 0 0 0;
    font-weight: 500;
    color: rgb(102, 102, 102);
}

.footer-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    font-style: italic;
    color: rgb(102, 102, 102);
}

.heart {
    animation: heartbeat 3s ease-in-out infinite;
    display: inline-block;
    margin: 0 5px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.05);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.03);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* Dashboard */
.dashboard h2 {
    font-family: 'QuentinPro', serif;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: normal;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-card h3 {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 400;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Formularios */
.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    width: 100%;
    max-width: none;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}


.section-title {
    font-family: 'QuentinPro', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: var(--primary-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b00e11;
}

.btn-secondary {
    background-color: var(--text-light);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #555;
}

.btn-success {
    background-color: #28a745;
    color: var(--white);
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Tablas */
.table-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--background-color);
    font-weight: 500;
    color: var(--text-color);
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Lista de empleados */
.empleados-list {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.empleado-card {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.empleado-card:hover {
    background-color: #f8f9fa;
}

.empleado-card:last-child {
    border-bottom: none;
}

.empleado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.empleado-nombre {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
}

.empleado-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
}

/* Secciones dinámicas */
.dynamic-section {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

.dynamic-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.dynamic-section-title {
    font-weight: 500;
    color: var(--text-color);
}

.remove-btn {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.remove-btn:hover {
    background-color: #e66b6b;
}

.add-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

.add-btn:hover {
    background-color: #b00e11;
}

/* Mensajes */
.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 8px 13px;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .header-left {
        gap: 10px;
    }
    
    .header-title {
        font-size: 12px;
        display: none; /* Ocultar en móviles para ahorrar espacio */
    }
    
    .user-text {
        display: none; /* Ocultar texto en móviles */
    }
    
    .user-profile {
        padding: 3px 6px;
    }
    
    .user-avatar {
        width: 29px;
        height: 29px;
    }
    
    .menu-toggle {
        font-size: 16px;
        padding: 6px;
    }
    
    .header-logo {
        max-width: 32px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .empleado-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .empleado-info {
        grid-template-columns: 1fr;
    }
}

/* Utilidades */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}

/* Campos calculados */
.calculated-field {
    background-color: #f8f9fa;
    color: var(--text-light);
    font-style: italic;
}

/* Estilos para parámetros */
.parametros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.parametro-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.parametro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.parametro-title {
    font-weight: 500;
    color: var(--text-color);
}

.parametro-actions {
    display: flex;
    gap: 10px;
}

.parametro-list {
    list-style: none;
}

.parametro-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.parametro-item:last-child {
    border-bottom: none;
}

.parametro-item-actions {
    display: flex;
    gap: 5px;
}
