/* ============================================================================
 * ASCENT STAR INN — FRONTEND STYLESHEET (frontend/css/styles.css)
 * ============================================================================ */

      /* Mobile-First Smartphone Optimizations */
      html, body {
        height: 100dvh;
        overscroll-behavior-y: none;
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
      }
      button, a, input, select, label {
        touch-action: manipulation;
      }
      .safe-bottom {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
      }
      .safe-bottom-bar {
        padding-bottom: env(safe-area-inset-bottom);
      }
      @media (max-width: 640px) {
        .dataTable-top, .dataTable-bottom {
          padding: 0.75rem !important;
          flex-direction: column;
          gap: 0.5rem;
        }
        .dataTable-input {
          width: 100% !important;
          font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
        }
        input, select, textarea {
          font-size: 16px !important; /* Prevents iOS Safari auto-zoom on focus */
        }
      }

      .dataTable-table { 
        border-collapse: collapse !important; 
        width: 100%; 
      }
      .dataTable-table thead th { 
        background-color: #f9fafb !important; 
        font-weight: 800 !important; 
        text-transform: uppercase; 
        font-size: 0.75rem; 
        border-bottom: 2px solid #e5e7eb !important; 
        text-align: left; 
      }
      .dataTable-top, .dataTable-bottom { 
        padding: 1rem 1.5rem; 
        background: #fff; 
      }
      .dataTable-table td { 
        padding: 1rem 1.5rem; 
        vertical-align: middle; 
        white-space: nowrap; 
        border-bottom: 1px solid #e5e7eb; 
      }
      .locked-field { 
        background-color: #f3f4f6; 
        border-color: #d1d5db; 
        color: #4b5563; 
        font-weight: 600; 
        cursor: not-allowed; 
      }
      
       
      .cal-wrapper {
        max-height: 60vh;
        overflow: auto;
        border-radius: 0.5rem;
        border: 1px solid #e5e7eb;
        background: #e5e7eb;
      }
      .cal-grid { 
        display: grid; 
        grid-template-columns: 100px repeat(14, minmax(80px, 1fr)); 
        gap: 1px; 
        min-width: max-content;
      }
      .cal-cell { 
        background: #fff; 
        padding: 10px; 
        text-align: center; 
        font-size: 0.75rem; 
      }
      .cal-header { 
        font-weight: 800; 
        background: #f9fafb; 
        color: #4b5563; 
        position: sticky;
        top: 0;
        z-index: 20;
      }
      .cal-room-col {
        position: sticky;
        left: 0;
        z-index: 10;
        background: #fff;
      }
      .cal-top-left {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 30;
        background: #f9fafb;
      }
      .cal-booked { 
        background: #4f46e5; 
        color: #fff; 
        font-weight: bold; 
        border-radius: 4px; 
        margin: 2px; 
        box-shadow: 0 1px 2px rgba(0,0,0,0.1); 
        cursor: pointer;
      }
      .cal-booked:hover { 
        background: #4338ca; 
      }

/* Animations & Custom Radio Controls */
        .animate-slide-up { animation: slideUp 0.3s ease-out forwards; }
        @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
        .animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .scrollbar-hide::-webkit-scrollbar { display: none; }
        .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
        
        input[type="radio"]:checked + .payment-icon { color: #4f46e5; }
        input[type="radio"]:checked ~ .payment-text { color: #4f46e5; }
        input[type="radio"]:checked ~ .payment-check { display: block; }
         
