/* Todos tus estilos CSS originales permanecen igual */
 body {
 box-sizing: border-box;
 -webkit-overflow-scrolling: touch;
 -webkit-tap-highlight-color: transparent;
 }
 
 * {
 -webkit-tap-highlight-color: transparent;
 -webkit-touch-callout: none;
 -webkit-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 user-select: none;
 }
 
 input, textarea, select {
 -webkit-user-select: text;
 -moz-user-select: text;
 -ms-user-select: text;
 user-select: text;
 }
 
 .touch-target {
 min-height: 44px;
 min-width: 44px;
 }
 
 .horizontal-scroll {
 -webkit-overflow-scrolling: touch;
 scrollbar-width: none;
 -ms-overflow-style: none;
 }
 
 .horizontal-scroll::-webkit-scrollbar {
 display: none;
 }
 
 .time-slot-grid {
 display: grid;
 grid-template-columns: 120px repeat(25, minmax(40px, 1fr));
 gap: 2px;
 }
 .time-cell {
 height: 40px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 6px;
 cursor: pointer;
 transition: all 0.2s ease;
 font-size: 10px;
 font-weight: 600;
 }
 .time-cell.available {
 background-color: #10b981;
 color: white;
 border: 1px solid #059669;
 }
 .time-cell.reserved {
 background-color: #ef4444;
 color: white;
 border: 1px solid #dc2626;
 }
 .time-cell.past {
 background-color: #94a3b8;
 color: white;
 border: 1px solid #64748b;
 cursor: not-allowed;
 }
 .time-cell.holiday {
 background-color: #f59e0b;
 color: white;
 border: 1px solid #d97706;
 cursor: not-allowed;
 }
 .modal-backdrop {
 backdrop-filter: blur(4px);
 }
 .save-indicator {
 position: fixed;
 top: 20px;
 right: 20px;
 background: #10b981;
 color: white;
 padding: 8px 16px;
 border-radius: 8px;
 font-size: 12px;
 z-index: 1000;
 opacity: 0;
 transition: opacity 0.3s ease;
 }
 .save-indicator.show {
 opacity: 1;
 }
 .version-badge {
 position: fixed;
 bottom: 20px;
 left: 20px;
 background: rgba(99, 102, 241, 0.9);
 color: white;
 padding: 4px 12px;
 border-radius: 20px;
 font-size: 11px;
 font-weight: 600;
 z-index: 1000;
 backdrop-filter: blur(4px);
 }
 .login-screen {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: #f8fafc;
 z-index: 9999;
 display: flex;
 align-items: center;
 justify-content: center;
 }
 
 .room-card {
 transition: all 0.3s ease;
 border: 2px solid transparent;
 }
 
 .room-card:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
 }
 
 .room-card.editing {
 border-color: #3b82f6;
 background-color: #f8fafc;
 }

 .rooms-management-content {
 max-height: 80vh;
 overflow-y: auto;
 scroll-behavior: smooth;
 padding-right: 8px;
 }

 .rooms-management-content::-webkit-scrollbar {
 width: 8px;
 }

 .rooms-management-content::-webkit-scrollbar-track {
 background: #f1f1f1;
 border-radius: 10px;
 }

 .rooms-management-content::-webkit-scrollbar-thumb {
 background: #c1c1c1;
 border-radius: 10px;
 }

 .rooms-management-content::-webkit-scrollbar-thumb:hover {
 background: #a8a8a8;
 }

 .image-preview-container {
 width: 100%;
 height: 150px;
 border: 2px dashed #d1d5db;
 border-radius: 8px;
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
 background-color: #f9fafb;
 cursor: pointer;
 transition: all 0.3s ease;
 }

 .image-preview-container:hover {
 border-color: #3b82f6;
 background-color: #f0f9ff;
 }

 .image-preview-container.has-image {
 border-style: solid;
 border-color: #10b981;
 }

 .image-preview {
 max-width: 100%;
 max-height: 100%;
 object-fit: cover;
 }

 .image-placeholder {
 text-align: center;
 color: #6b7280;
 }

 .upload-btn {
 background-color: #3b82f6;
 color: white;
 padding: 8px 16px;
 border-radius: 6px;
 cursor: pointer;
 display: inline-block;
 margin-top: 8px;
 transition: background-color 0.3s;
 }

 .upload-btn:hover {
 background-color: #2563eb;
 }

 @media print {
 .no-print {
 display: none !important;
 }
 body {
 background: white !important;
 color: black !important;
 }
 }

 .btn-primary {
 background: #2563eb;
 color: white;
 padding: 10px 20px;
 border-radius: 8px;
 font-weight: 500;
 border: 1px solid #1d4ed8;
 cursor: pointer;
 transition: all 0.2s ease;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 }

 .btn-primary:hover {
 background: #1d4ed8;
 transform: translateY(-1px);
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

 .btn-secondary {
 background: #ffffff;
 color: #475569;
 padding: 10px 20px;
 border-radius: 8px;
 font-weight: 500;
 border: 1px solid #cbd5e1;
 cursor: pointer;
 transition: all 0.2s ease;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
 }

 .btn-secondary:hover {
 background: #f8fafc;
 color: #0f172a;
 transform: translateY(-1px);
 }

 .btn-success {
 background: #059669;
 color: white;
 padding: 10px 20px;
 border-radius: 8px;
 font-weight: 500;
 border: 1px solid #047857;
 cursor: pointer;
 transition: all 0.2s ease;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 }

 .btn-success:hover {
 background: #047857;
 transform: translateY(-1px);
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

 .btn-danger {
 background: #dc2626;
 color: white;
 padding: 10px 20px;
 border-radius: 8px;
 font-weight: 500;
 border: 1px solid #b91c1c;
 cursor: pointer;
 transition: all 0.2s ease;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 }

 .btn-danger:hover {
 background: #b91c1c;
 transform: translateY(-1px);
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

 .btn-warning {
 background: #f59e0b;
 color: white;
 padding: 10px 20px;
 border-radius: 8px;
 font-weight: 500;
 border: 1px solid #d97706;
 cursor: pointer;
 transition: all 0.2s ease;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 }

 .btn-warning:hover {
 background: #d97706;
 transform: translateY(-1px);
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

 .card {
 background: white;
 border-radius: 12px;
 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
 border: 1px solid #e2e8f0;
 transition: all 0.2s ease;
 }

 .card:hover {
 box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
 }

 .stat-card {
 background: #f8fafc;
 color: #0f172a;
 border: 1px solid #e2e8f0;
 border-radius: 12px;
 padding: 20px;
 text-align: center;
 }

 .feature-badge {
 background: #e0e7ff;
 color: #4338ca;
 padding: 6px 12px;
 border-radius: 16px;
 font-size: 12px;
 font-weight: 500;
 }

 .color-palette-presets {
 display: grid;
 grid-template-columns: repeat(6, 1fr);
 gap: 6px;
 margin-top: 10px;
 }

 .color-preset {
 height: 30px;
 border-radius: 6px;
 cursor: pointer;
 border: 2px solid transparent;
 transition: all 0.2s ease;
 }

 .color-preset:hover {
 transform: scale(1.1);
 border-color: #333;
 }

 .color-preset.selected {
 border: 3px solid #1f2937;
 box-shadow: 0 2px 8px rgba(0,0,0,0.3);
 }

 .color-section {
 margin-bottom: 20px;
 padding: 15px;
 background: #f8f9fa;
 border-radius: 10px;
 border: 1px solid #e5e7eb;
 }

 .color-section-title {
 font-size: 14px;
 font-weight: 600;
 color: #374151;
 margin-bottom: 10px;
 display: block;
 }

 /* NUEVOS ESTILOS PARA MEJORAR EL SCROLL DEL HISTORIAL */
 .history-scroll-container {
 max-height: 70vh;
 overflow-y: auto;
 overflow-x: auto;
 scroll-behavior: smooth;
 padding-right: 8px;
 }

 .history-scroll-container::-webkit-scrollbar {
 width: 12px;
 height: 12px;
 }

 .history-scroll-container::-webkit-scrollbar-track {
 background: #f1f1f1;
 border-radius: 10px;
 }

 .history-scroll-container::-webkit-scrollbar-thumb {
 background: #c1c1c1;
 border-radius: 10px;
 border: 2px solid #f1f1f1;
 }

 .history-scroll-container::-webkit-scrollbar-thumb:hover {
 background: #a8a8a8;
 }

 .history-scroll-container::-webkit-scrollbar-corner {
 background: #f1f1f1;
 }

 /* Mejorar la tabla para ser más responsive */
 .history-table-container {
 min-width: 100%;
 overflow-x: auto;
 }

 .history-table {
 min-width: 1200px;
 }

 /* Estilos para mejor experiencia táctil */
 .history-scroll-container {
 -webkit-overflow-scrolling: touch;
 }

 /* ESTILOS MEJORADOS PARA CONFIGURACIÓN DE PRECIOS */
 .price-config-section {
 border: 2px solid #e5e7eb;
 border-radius: 12px;
 padding: 20px;
 margin-bottom: 20px;
 background: #f9fafb;
 }

 .price-tier {
 background: white;
 border: 1px solid #e5e7eb;
 border-radius: 8px;
 padding: 16px;
 margin-bottom: 16px;
 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
 }

 .price-tier-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 16px;
 padding-bottom: 12px;
 border-bottom: 1px solid #e5e7eb;
 }

 .time-range-inputs {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px;
 margin-bottom: 16px;
 }

 .price-inputs-container {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 gap: 16px;
 }

 .price-input-group {
 display: flex;
 flex-direction: column;
 gap: 8px;
 }

 .price-input-group label {
 font-weight: 700;
 font-size: 14px;
 color: #374151;
 margin-bottom: 8px;
 text-align: center;
 display: block;
 }

 .price-input-group input {
 width: 100%;
 padding: 12px;
 border: 2px solid #d1d5db;
 border-radius: 8px;
 font-size: 16px;
 font-weight: 600;
 transition: all 0.2s;
 background: white;
 box-shadow: 0 2px 4px rgba(0,0,0,0.05);
 text-align: center;
 min-height: 50px;
 }

 .price-input-group input:focus {
 outline: none;
 border-color: #3b82f6;
 box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
 transform: translateY(-1px);
 }

 .price-input-group select {
 width: 100%;
 padding: 12px;
 border: 2px solid #d1d5db;
 border-radius: 8px;
 font-size: 16px;
 font-weight: 600;
 min-height: 50px;
 background: white;
 text-align: center;
 }

 /* Mejoras específicas para las tarifas */
 .price-tier-title {
 font-size: 16px;
 font-weight: 700;
 color: #1f2937;
 margin-bottom: 0;
 }

 .price-input-label {
 font-size: 13px;
 font-weight: 600;
 color: #4b5563;
 text-align: center;
 margin-bottom: 8px;
 display: block;
 }

 .price-input-value {
 font-size: 16px;
 font-weight: 700;
 color: #1f2937;
 text-align: center;
 }

 /* Estilos para mejor visualización en móviles */
 @media (max-width: 768px) {
 .price-inputs-container {
 grid-template-columns: 1fr;
 gap: 12px;
 }
 
 .time-range-inputs {
 grid-template-columns: 1fr;
 gap: 12px;
 }
 
 .price-input-group input,
 .price-input-group select {
 min-height: 44px;
 font-size: 14px;
 padding: 10px;
 }
 }