/* ESTILOS GENERALES - BARBERÍA ELITE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding-top: 80px; /* Espacio para header fijo */
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER Y NAVEGACIÓN ===== */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.8rem;
    color: #d4af37;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

/* Logo imagen */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 5px;
}

/* Navegación desktop */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-desktop a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    background-color: #d4af37;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Navegación móvil */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-mobile.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: 15px;
}

.nav-mobile a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    background-color: #d4af37;
    color: #1a1a1a;
}

/* Botón menú móvil */
.menu-mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background-color: #d4af37;
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
    transition: all 0.3s;
}

.menu-mobile-toggle:hover {
    transform: scale(1.1);
    background-color: #c19b2a;
}

/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border-radius: 10px;
    margin: 20px 0 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hero p {
    font-size: 1rem;
    opacity: 0.9;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECCIONES GENERALES ===== */
section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Contador de barberos disponibles */
#contador-disponibles {
    font-size: 0.9rem;
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

/* ===== BARBEROS ===== */
.barberos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.barbero-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.barbero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.barbero-header {
    padding: 15px;
    background-color: #2d2d2d;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barbero-nombre {
    font-size: 1.2rem;
    font-weight: 600;
}

.estado {
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.estado-disponible {
    background-color: #4CAF50;
    color: white;
}

.estado-no-disponible {
    background-color: #f44336;
    color: white;
}

.barbero-info {
    padding: 15px;
}

.barbero-info p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== NUEVO CALENDARIO DE DISPONIBILIDAD (BARBEROS vs HORARIOS) ===== */
.calendario-section {
    margin: 40px 0;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.calendario-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.8em;
}

.calendario-container {
    max-width: 100%;
    margin: 0 auto;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.calendario-header h3 {
    margin: 0;
    font-size: 1.4em;
    color: #2c3e50;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

/* Contenedor principal de la nueva tabla */
.tabla-disponibilidad-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
    border: 1px solid #e0e0e0;
}

.tabla-scroll {
    min-width: 800px;
}

/* Estilos de la nueva tabla */
.tabla-disponibilidad {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

/* Encabezados de columnas */
.tabla-disponibilidad th {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 14px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tabla-disponibilidad th.col-horario {
    background: linear-gradient(135deg, #3498db, #2980b9);
    min-width: 80px;
    border-right: 2px solid #d4af37;
}

.tabla-disponibilidad th.col-barbero {
    min-width: 120px;
}

.tabla-disponibilidad th:last-child {
    border-right: none;
}

/* Celdas de hora (primera columna) */
.celda-horario {
    background: #f8f9fa;
    padding: 12px 10px;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    border-right: 2px solid #d4af37;
    border-bottom: 1px solid #dee2e6;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    position: sticky;
    left: 0;
    z-index: 5;
    min-width: 80px;
}

/* Celdas de barberos */
.celda-barbero {
    padding: 12px 10px;
    text-align: center;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    cursor: default;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 60px;
    vertical-align: middle;
}

.celda-barbero:last-child {
    border-right: none;
}

/* Estados de las celdas de barberos */
.estado-disponible-barbero {
    background: linear-gradient(135deg, #e8f5e9, #d4edda);
    color: #155724;
}

.estado-disponible-barbero.seleccionable {
    cursor: pointer;
}

.estado-disponible-barbero.seleccionable:hover {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
}

.estado-disponible-barbero.seleccionada {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    box-shadow: 0 0 0 2px #28a745;
    border: 2px solid #155724 !important;
}

.estado-ocupado-barbero {
    background: linear-gradient(135deg, #fcebec, #f8d7da);
    color: #721c24;
    cursor: not-allowed;
}

.estado-descanso-barbero {
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    color: #856404;
    cursor: not-allowed;
    font-style: italic;
}

/* Estilos para filas especiales */
.fila-descanso {
    background-color: #fffaf0;
}

.fila-descanso td {
    border-color: #ffeaa7;
}

.celda-descanso-horario {
    background: #fff3cd;
    color: #856404;
    font-weight: 500;
}

.celda-descanso {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

/* Fila de horarios pasados */
.fila-pasada {
    opacity: 0.7;
}

.celda-pasada {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    cursor: not-allowed;
}

/* Contenido de las celdas */
.estado-contenido {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 4px;
}

.texto-disponible {
    font-weight: 600;
    font-size: 0.8rem;
    color: #155724;
}

.texto-ocupado {
    font-weight: 600;
    font-size: 0.8rem;
    color: #721c24;
}

.texto-descanso {
    font-weight: 500;
    font-size: 0.8rem;
    color: #856404;
}

.nombre-barbero {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.horario-texto {
    font-weight: 600;
    margin-bottom: 2px;
}

.descanso-texto {
    font-size: 0.7rem;
    color: #856404;
    font-style: italic;
}

.pasado-texto {
    font-size: 0.7rem;
    color: #6c757d;
    font-style: italic;
}

/* Navegación para la nueva tabla */
.navegacion-tabla-barberos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.controles-fecha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.controles-extra {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-navegacion {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-navegacion:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.fecha-actual-display {
    text-align: center;
    min-width: 200px;
}

.fecha-principal {
    font-weight: 600;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 2px;
}

.dia-semana {
    font-size: 0.9rem;
    color: #666;
}

.btn-accion {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-accion:hover {
    background: #1a252f;
    transform: translateY(-1px);
}

.btn-accion.active {
    background: #d4af37;
    color: #1a1a1a;
}

.info-barberos {
    background: #e3f2fd;
    color: #1565c0;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Leyenda para la nueva tabla */
.leyenda-tabla-barberos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.leyenda-grupo {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.leyenda-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #495057;
}

.leyenda-color {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.leyenda-color.disponible-barbero {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
}

.leyenda-color.ocupado-barbero {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

.leyenda-color.descanso-barbero {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

.leyenda-color.pasado-barbero {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.leyenda-color.seleccionado-barbero {
    background: #28a745;
    border-color: #155724;
}

/* Botones del calendario antiguos (ocultar) */
.btn-calendario {
    display: none;
}

/* ===== FORMULARIO DE RESERVA ===== */
.reserva-form {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a1a1a;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Checkbox personalizado para servicios */
.servicios-checkbox-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 5px;
    border: 1px solid #eee;
}

.checkbox-servicio {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: 1px solid transparent;
}

.checkbox-servicio:hover {
    background-color: #f0f0f0;
    border-color: #ddd;
}

.checkbox-servicio:last-child {
    margin-bottom: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
    width: 100%;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
    background-color: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #d4af37;
    border-color: #d4af37;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-text {
    flex-grow: 1;
}

.checkbox-text strong {
    color: #d4af37;
    font-weight: 600;
}

/* Total precio */
.total-precio {
    margin-top: 15px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e7d32;
    text-align: center;
    display: none;
    border: 1px solid #c8e6c9;
    animation: fadeIn 0.3s ease-out;
}

.total-precio.mostrar {
    display: block;
}

/* ===== BOTONES ===== */
.btn-primary {
    background-color: #d4af37;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 148, 31, 0.2);
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.85em;
    height: auto;
    white-space: nowrap;
}

.btn-danger {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-danger:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

/* Contenedor para el campo de teléfono con botón */
.telefono-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.telefono-container input {
    flex: 1;
}

/* ===== INFORMACIÓN DEL TELÉFONO ===== */
.info-telefono {
    display: none;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    font-size: 0.9em;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-telefono p {
    margin: 0 0 8px 0;
    color: #333;
}

.info-telefono i {
    color: #007bff;
    margin-right: 8px;
}

#telefono-actual {
    color: #0056b3;
    font-weight: 600;
}

/* ===== TURNOS RESERVADOS ===== */
.turnos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.turno-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #d4af37;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.turno-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.turno-info {
    margin-bottom: 15px;
}

.turno-cliente {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.turno-detalle {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.turno-detalle i {
    color: #d4af37;
    width: 16px;
    text-align: center;
}

/* Estilos para turnos pasados */
.turno-pasado {
    opacity: 0.7;
    border-left: 4px solid #6c757d !important;
    background-color: #f8f9fa;
}

.turno-pasado .turno-cliente {
    color: #6c757d;
}

.turno-pasado .turno-detalle {
    color: #868e96;
}

.turno-pasado-badge {
    display: inline-block;
    background-color: #6c757d;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    margin-bottom: 8px;
}

.turno-pasado-badge i {
    margin-right: 5px;
}

/* Botón deshabilitado para turnos pasados */
.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
}

/* ===== SIN TURNOS/BARBEROS ===== */
.sin-turnos {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.sin-turnos i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

/* ===== MENSAJES ===== */
.mensaje {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
}

.mensaje-exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 25px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

footer i {
    color: #d4af37;
}

/* =========================================== */
/* RESPONSIVE DESIGN */
/* =========================================== */

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 70px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    /* Navegación móvil */
    .nav-desktop {
        display: none;
    }
    
    .menu-mobile-toggle {
        display: flex;
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* Hero */
    .hero {
        padding: 20px 15px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    #contador-disponibles {
        margin-left: 0;
        margin-top: 5px;
    }
    
    /* Grids */
    .barberos-grid,
    .turnos-container {
        grid-template-columns: 1fr;
    }
    
    /* Formulario */
    .reserva-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
    }
    
    .btn-primary {
        padding: 12px 20px;
    }
    
    /* Nueva tabla de disponibilidad - Responsive */
    .tabla-scroll {
        min-width: 650px;
    }
    
    .tabla-disponibilidad {
        font-size: 0.75rem;
    }
    
    .tabla-disponibilidad th {
        padding: 10px 6px;
        font-size: 0.75rem;
    }
    
    .celda-horario {
        padding: 10px 6px;
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .celda-barbero {
        padding: 8px 6px;
        height: 50px;
        min-width: 100px;
    }
    
    .estado-contenido {
        gap: 2px;
    }
    
    .texto-disponible,
    .texto-ocupado,
    .texto-descanso {
        font-size: 0.7rem;
    }
    
    .nombre-barbero {
        font-size: 0.65rem;
    }
    
    /* Navegación responsive */
    .navegacion-tabla-barberos {
        gap: 10px;
    }
    
    .controles-fecha {
        gap: 10px;
        justify-content: space-between;
    }
    
    .fecha-actual-display {
        min-width: 150px;
        order: 2;
    }
    
    .btn-navegacion {
        padding: 8px 12px;
        font-size: 0.8rem;
        order: 1;
    }
    
    #btn-dia-siguiente-barbero {
        order: 3;
    }
    
    .controles-extra {
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-barberos {
        justify-content: center;
        text-align: center;
    }
    
    /* Calendario header */
    .calendario-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .calendario-header h3 {
        order: -1;
        margin-bottom: 10px;
    }
    
    .calendario-header > * {
        width: 100%;
    }
    
    /* Telefono container */
    .telefono-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .telefono-container input,
    .telefono-container button {
        width: 100%;
    }
    
    .btn-small {
        padding: 10px;
        font-size: 0.9em;
    }
    
    .info-telefono {
        padding: 10px;
        font-size: 0.85em;
    }
    
    /* Footer */
    footer p {
        flex-direction: column;
        gap: 5px;
    }
    
    /* Leyenda */
    .leyenda-tabla-barberos {
        flex-direction: column;
        gap: 15px;
    }
    
    .leyenda-grupo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .hero {
        padding: 15px;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .reserva-form {
        padding: 15px;
    }
    
    .checkbox-servicio {
        padding: 8px;
    }
    
    .checkbox-custom {
        width: 20px;
        height: 20px;
    }
    
    .servicios-checkbox-container {
        padding: 12px;
    }
    
    /* Nueva tabla de disponibilidad - Móvil pequeño */
    .tabla-scroll {
        min-width: 550px;
    }
    
    .tabla-disponibilidad {
        font-size: 0.7rem;
    }
    
    .tabla-disponibilidad th {
        padding: 8px 4px;
        font-size: 0.7rem;
    }
    
    .celda-horario {
        padding: 8px 4px;
        font-size: 0.75rem;
        min-width: 65px;
    }
    
    .celda-barbero {
        padding: 6px 4px;
        height: 45px;
        min-width: 90px;
    }
    
    .texto-disponible,
    .texto-ocupado,
    .texto-descanso {
        font-size: 0.65rem;
    }
    
    .nombre-barbero {
        display: none; /* Ocultar nombre en móviles muy pequeños */
    }
    
    /* Mostrar solo iniciales en móviles pequeños */
    .celda-barbero::before {
        content: attr(data-iniciales);
        font-size: 0.6rem;
        color: rgba(0, 0, 0, 0.5);
        display: block;
        margin-top: 2px;
    }
    
    .calendario-header h3 {
        font-size: 1.1rem;
    }
    
    /* Navegación móvil pequeño */
    .fecha-principal {
        font-size: 1rem;
    }
    
    .dia-semana {
        font-size: 0.8rem;
    }
    
    .btn-navegacion {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .btn-accion {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .info-barberos {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ===== UTILIDADES ===== */

/* Animación de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Estilos para scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* Estilos para focus visible */
:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Estilos para loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
}

/* Estilos para selección de texto */
::selection {
    background-color: #d4af37;
    color: white;
}

/* Animación para selección de celda */
@keyframes pulse-seleccion {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.estado-disponible-barbero.seleccionada {
    animation: pulse-seleccion 0.5s ease;
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .estado-disponible-barbero.seleccionable:active {
        background: linear-gradient(135deg, #28a745, #218838) !important;
        color: white !important;
        transform: scale(0.98);
    }
}

/* Estilos de impresión */
@media print {
    .menu-mobile-toggle,
    .nav-desktop,
    .nav-mobile,
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .navegacion-tabla-barberos {
        display: none !important;
    }
    
    body {
        padding-top: 0;
        background-color: white;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .barbero-card,
    .turno-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .tabla-disponibilidad-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .tabla-disponibilidad th {
        background: #f5f5f5 !important;
        color: #000 !important;
    }
}

/* =========================================== */
/* ESTILOS PARA PANEL ADMINISTRATIVO (MANTENIDOS) */
/* =========================================== */

/* ===== SECCIONES DEL ADMIN ===== */
.barberos-admin-section,
.filtros-section,
.turnos-admin-section,
.estadisticas-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

/* ===== FILTROS ===== */
.filtros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.filtros .form-group {
    margin-bottom: 0;
}

.filtros .form-group:last-child {
    display: flex;
    align-items: flex-end;
}

/* ===== TABLA DE TURNOS EN ADMIN ===== */
.tabla-turnos-admin {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.tabla-turnos-admin thead {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.tabla-turnos-admin th {
    padding: 15px 12px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d4af37;
}

.tabla-turnos-admin tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.tabla-turnos-admin tbody tr:hover {
    background-color: #f9f9f9;
}

.tabla-turnos-admin tbody tr.completado {
    background-color: #f8f9fa;
    opacity: 0.8;
}

.tabla-turnos-admin td {
    padding: 12px 12px;
    vertical-align: top;
    font-size: 0.9rem;
}

.tabla-turnos-admin td strong {
    color: #1a1a1a;
    font-size: 0.95rem;
}

.tabla-turnos-admin td small {
    color: #666;
    font-size: 0.8rem;
    display: block;
    margin-top: 3px;
}

/* Botones en tabla */
.tabla-turnos-admin .btn-secundario,
.tabla-turnos-admin .btn-danger {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tabla-turnos-admin .btn-secundario {
    background-color: #28a745;
}

.tabla-turnos-admin .btn-secundario:hover {
    background-color: #218838;
}

/* ===== ESTADÍSTICAS ===== */
.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.estadistica-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.estadistica-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.estadistica-card h3 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.estadistica-card p {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.estadistica-card:nth-child(1) p {
    color: #d4af37;
}

.estadistica-card:nth-child(2) p {
    color: #d4af37;
}

.estadistica-card:nth-child(3) p {
    color: #d4af37;
}

.estadistica-card:nth-child(4) p {
    color: #d4af37;
}

.estadistica-card:nth-child(5) p {
    color: #6f42c1;
}

/* ===== BOTONES ESPECIALES ADMIN ===== */
.btn-secundario {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-secundario:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-editar {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-editar:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* ===== ACCIONES BARBEROS ===== */
.barbero-acciones {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.barbero-acciones button {
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    border: none;
}

/* ===== NOTIFICACIONES ===== */
#notificacion-admin {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SCROLLBAR PARA TABLAS ===== */
.tabla-turnos-admin-container {
    max-height: 500px;
    overflow-y: auto;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.tabla-turnos-admin-container::-webkit-scrollbar {
    width: 8px;
}

.tabla-turnos-admin-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.tabla-turnos-admin-container::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.tabla-turnos-admin-container::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* ===== RESPONSIVE ADMIN ===== */
@media (max-width: 768px) {
    .barberos-admin-section,
    .filtros-section,
    .turnos-admin-section,
    .estadisticas-section {
        padding: 20px;
    }
    
    .filtros {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .estadisticas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .estadistica-card {
        padding: 20px 15px;
    }
    
    .estadistica-card p {
        font-size: 1.5rem;
    }
    
    .barbero-acciones {
        flex-direction: column;
    }
    
    .barbero-acciones button {
        width: 100%;
        justify-content: center;
    }
    
    /* Tabla responsive */
    .tabla-turnos-admin {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tabla-turnos-admin thead {
        display: none;
    }
    
    .tabla-turnos-admin tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
    }
    
    .tabla-turnos-admin td {
        display: block;
        text-align: right;
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
    }
    
    .tabla-turnos-admin td:last-child {
        border-bottom: none;
    }
    
    .tabla-turnos-admin td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #333;
    }
    
    .tabla-turnos-admin td .btn-secundario,
    .tabla-turnos-admin td .btn-danger {
        display: inline-block;
        margin: 2px;
    }
}

@media (max-width: 480px) {
    .estadisticas-grid {
        grid-template-columns: 1fr;
    }
    
    .estadistica-card p {
        font-size: 1.3rem;
    }
    
    #notificacion-admin {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* ===== ESTILOS PARA SIN CONTENIDO ===== */
.sin-turnos {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    margin: 20px 0;
}

.sin-turnos i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.sin-turnos .subtitulo {
    font-size: 0.9rem;
    color: #999;
    margin-top: 10px;
}

/* ===== MODAL ESTILOS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: white;
    border-radius: 10px 10px 0 0;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* ===== ESTILOS PARA EXPORTAR ===== */
#btn-exportar {
    background-color: #20c997;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

#btn-exportar:hover {
    background-color: #17a589;
    transform: translateY(-2px);
}

/* ===== TURNOS COMPLETADOS VS PENDIENTES ===== */
.turno-completado {
    opacity: 0.7;
    background-color: #f8f9fa !important;
}

.turno-completado td {
    color: #6c757d;
}

.turno-pendiente {
    background-color: #fff;
}

.estado-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.estado-badge.completado {
    background-color: #28a745;
    color: white;
}

.estado-badge.pendiente {
    background-color: #dc3545;
    color: white;
}

/* ===== ANIMACIONES DE CARGA ===== */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    flex-direction: column;
    gap: 15px;
    color: #666;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ESTILOS DE IMPRESIÓN PARA ADMIN ===== */
@media print {
    .menu-mobile-toggle,
    .nav-desktop,
    .nav-mobile,
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .btn-secundario,
    .btn-editar,
    .btn-exportar,
    .modal-overlay {
        display: none !important;
    }
    
    .barberos-admin-section,
    .filtros-section,
    .turnos-admin-section,
    .estadisticas-section {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .tabla-turnos-admin {
        border: 1px solid #ccc;
    }
    
    .tabla-turnos-admin th {
        background: #f5f5f5 !important;
        color: #000 !important;
        border-bottom: 2px solid #000;
    }
    
    footer {
        page-break-before: always;
    }
}

/* =========================================== */
/* ESTILOS ANTIGUOS DE CALENDARIO (MANTENIDOS POR SI ACASO) */
/* =========================================== */

/* Contenedor principal del calendario */
.calendario-traditional-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

/* Cabecera del calendario */
.calendario-header-traditional {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: white;
    padding: 16px 20px;
    text-align: center;
    border-bottom: 2px solid #d4af37;
}

.calendario-header-traditional h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

/* Tabla de calendario tradicional */
.calendario-traditional-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

/* Encabezados de columnas */
.calendario-traditional-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.calendario-traditional-table th:first-child {
    width: 80px;
    background: #2d2d2d;
    color: white;
    border-right: 2px solid #d4af37;
}

.calendario-traditional-table th:last-child {
    border-right: none;
}

/* Celdas de hora (primera columna) */
.calendario-traditional-table td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding: 10px 8px;
    border-right: 2px solid #d4af37;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    position: sticky;
    left: 0;
    z-index: 5;
}

/* Celdas de disponibilidad */
.calendario-traditional-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    vertical-align: middle;
    cursor: default;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 52px;
}

.calendario-traditional-table td:last-child {
    border-right: none;
}

.calendario-traditional-table tr:last-child td {
    border-bottom: none;
}

/* Estados de las celdas tradicionales */
.celda-disponible {
    background: linear-gradient(135deg, #e8f5e9, #d4edda);
    color: #155724;
    cursor: pointer;
    position: relative;
}

.celda-disponible:hover {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
    z-index: 2;
}

.celda-ocupada {
    background: linear-gradient(135deg, #fcebec, #f8d7da);
    color: #721c24;
    cursor: not-allowed;
}

.celda-descanso {
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    color: #856404;
    cursor: not-allowed;
    font-style: italic;
}

.celda-pasado {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.celda-no-laborable {
    background: linear-gradient(135deg, #f1f3f4, #e2e3e5);
    color: #495057;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Celda seleccionada */
.celda-seleccionada {
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    z-index: 3;
    position: relative;
}

/* Navegación tradicional */
.navegacion-calendario-traditional {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    padding: 0 10px;
}

.nav-fecha-traditional {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.btn-nav-traditional {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-nav-traditional:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.fecha-actual-traditional {
    text-align: center;
    min-width: 180px;
}

.dia-actual-traditional {
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d2d2d;
    margin-bottom: 2px;
}

.fecha-numero-traditional {
    font-size: 0.85rem;
    color: #666;
}

.btn-hoy-traditional {
    background: #2d2d2d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-hoy-traditional:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

.btn-hoy-traditional.active {
    background: #d4af37;
    color: #1a1a1a;
}

/* Leyenda tradicional */
.leyenda-traditional {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.leyenda-item-traditional {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #495057;
}

.leyenda-color-traditional {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.leyenda-color-traditional.disponible {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
}

.leyenda-color-traditional.ocupado {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
}

.leyenda-color-traditional.descanso {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
}

.leyenda-color-traditional.pasado {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.leyenda-color-traditional.no-laborable {
    background: linear-gradient(135deg, #e2e3e5, #d6d8db);
}

.leyenda-color-traditional.seleccionado {
    background: #28a745;
    border-color: #155724;
}

/* Scrollbar para tabla */
.calendario-traditional-container {
    overflow-x: auto;
}

.calendario-traditional-container::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.calendario-traditional-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.calendario-traditional-container::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

.calendario-traditional-container::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}
.leyenda-color.no-laborable-barbero {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: #6c757d;
}

.celda-barbero.estado-no-laborable {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.texto-no-laborable {
    color: #6c757d !important;
    font-weight: 500;
}

.btn-reset-total {
    display: flex;
    align-items: center;
    gap: 12px;

    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;

    padding: 14px 18px;
    border: none;
    border-radius: 12px;

    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    box-shadow: 0 10px 25px rgba(192, 57, 43, 0.35);
    transition: all 0.25s ease;
}

.btn-reset-total .icon {
    font-size: 22px;
}

.btn-reset-total .text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.btn-reset-total small {
    font-size: 12px;
    opacity: 0.85;
}

/* Hover */
.btn-reset-total:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(192, 57, 43, 0.45);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Click */
.btn-reset-total:active {
    transform: scale(0.97);
    box-shadow: 0 6px 14px rgba(192, 57, 43, 0.3);
}

/* Disabled (por si lo usás después) */
.btn-reset-total:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}
