body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: #f4f8fb;
      margin: 0;
      padding: 0;
    }
    h2 {
      text-align: center;
      color: #0984e3;
      margin-bottom: 30px;
    }
    /* ===== Inline Form Styling (TTD style inspired) ===== */
    .form-container {
      max-width: 900px;
      margin: 0 auto 40px;
      background: #fff;
      padding: 30px 25px 18px 25px;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgb(0 0 0 / 0.08);
    }
    .form-inline {
      display: flex;
      flex-flow: row wrap;
      align-items: flex-end;
      gap: 18px;
    }
    .form-inline .form-group {
      display: flex;
      flex-direction: column;
      min-width: 180px;
      flex: 1 1 0;
    }
    .form-inline label {
      font-weight: 700;
      font-size: 0.9rem;
      margin-bottom: 6px;
      color: #0a3d62;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .form-inline input[type="date"],
    .form-inline select {
      padding: 10px 12px;
      border: 1.8px solid #d1d8e0;
      border-radius: 6px;
      font-size: 1rem;
      color: #2f3640;
      transition: border-color 0.3s;
      box-sizing: border-box;
      background: #f8fafb;
    }
    .form-inline input[type="date"]:focus,
    .form-inline select:focus {
      border-color: #0984e3;
      outline: none;
      box-shadow: 0 0 8px rgba(9, 132, 227, 0.2);
    }
    .form-inline .button-group {
      display: flex;
      align-items: flex-end;
      min-width: 140px;
    }
    .form-inline button#checkBtn {
      width: 100%;
      background-color: #0984e3;
      border: none;
      padding: 12px 22px;
      font-size: 1.08rem;
      font-weight: 700;
      color: white;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.3s;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-top: 0;
    }
    .form-inline button#checkBtn:hover {
      background-color: #0652dd;
    }
    @media (max-width: 900px) {
      .form-container {
        padding: 18px 8px 10px 8px;
      }
      .form-inline .form-group, .form-inline .button-group {
        min-width: 120px;
      }
    }
    @media (max-width: 700px) {
      .form-inline {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
      }
      .form-inline .form-group, .form-inline .button-group {
        min-width: 0;
      }
      .form-inline button#checkBtn {
        width: 100%;
      }
    }
    /* ===== Results and rest of styles unchanged ===== */
    .results {
      max-width: 900px;
      margin: 0 auto 40px;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    .room-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgb(0 0 0 / 0.1);
      padding: 25px 30px;
      margin-bottom: 25px;
      border: 1px solid #e0e6ed;
      transition: box-shadow 0.3s;
    }
    .room-card:hover {
      box-shadow: 0 8px 25px rgb(0 0 0 / 0.15);
    }
    .room-card h3 {
      font-size: 1.8rem;
      color: #0a3d62;
      font-weight: 700;
      margin-bottom: 15px;
    }
    .room-details {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 20px;
    }
    .room-details > div {
      flex: 1 1 45%;
      min-width: 200px;
      color: #34495e;
      font-size: 1rem;
    }
    .room-details strong {
      color: #0984e3;
      font-weight: 700;
    }
    .facilities-inline {
      color: #555;
      font-size: 0.95rem;
      margin-top: 10px;
      white-space: nowrap;
      overflow-x: auto;
      padding-bottom: 4px;
    }
    .facilities-inline::-webkit-scrollbar { height: 6px; }
    .facilities-inline::-webkit-scrollbar-thumb {
      background: #0984e3;
      border-radius: 3px;
    }
    .flex-group { margin-top: 15px; }
    .room-select-row {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      margin-bottom: 12px;
      align-items: flex-end;
    }
    .room-select-row > div {
      flex: 1 1 120px;
      min-width: 120px;
    }
    .room-select-row label {
      font-weight: 600;
      color: #0a3d62;
      margin-bottom: 4px;
      display: block;
      text-transform: uppercase;
      font-size: 0.85rem;
      letter-spacing: 0.04em;
    }
    .room-select-row .room-number-label {
      flex: 0 0 100px;
      font-weight: 700;
      font-size: 1rem;
      color: #0984e3;
      margin-bottom: 4px;
      user-select: none;
    }
    .fare-summary {
      background-color: #f0f8ff;
      border: 1px solid #0984e3;
      border-radius: 8px;
      padding: 15px;
      font-weight: 700;
      color: #004085;
      margin-top: 20px;
      line-height: 1.5;
      font-size: 1rem;
    }
    .confirm-booking-btn {
      margin-top: 20px;
      background-color: #0984e3;
      border: none;
      color: white;
      font-weight: 700;
      padding: 14px 30px;
      border-radius: 8px;
      cursor: pointer;
      display: block;
      width: fit-content;
      margin-left: auto;
      margin-right: auto;
      font-size: 1.1rem;
      box-shadow: 0 5px 15px rgba(9, 132, 227, 0.5);
      transition: background-color 0.3s;
      text-transform: uppercase;
      letter-spacing: 0.07em;
    }
    .confirm-booking-btn:hover {
      background-color: #0652dd;
      box-shadow: 0 7px 20px rgba(6, 82, 221, 0.7);
    }
    #preloader {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(255, 255, 255, 0.9);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      font-size: 1.3rem;
      font-weight: 700;
      color: #0984e3;
      text-align: center;
      padding: 20px;
      box-sizing: border-box;
      user-select: none;
      flex-direction: column;
      display: flex;
    }
    #preloader.hidden { display: none !important; }
    #preloader .spinner {
      margin-bottom: 15px;
      border: 5px solid #f3f3f3;
      border-top: 5px solid #0984e3;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1s linear infinite;
    }
    @keyframes spin {
      0% { transform: rotate(0deg);}
      100% { transform: rotate(360deg);}
    }

    /* ===== Make dropdowns in results much larger ===== */
    .results select,
    .room-select-row select,
    .flex-group select {
      min-width: 90px;
      width: 130px;
      height: 48px;
      font-size: 1.17rem;
      padding: 10px 16px;
      border-radius: 8px;
      border: 2px solid #0984e3;
      background: #f8fafb;
      margin-right: 10px;
      margin-bottom: 4px;
      box-sizing: border-box;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
    }
    /* Make 'No. of Rooms' dropdown even wider for clarity */
    .flex-group select {
      min-width: 120px;
      width: 160px;
    }
    /* Optional: Add a custom arrow for select (modern look) */
    .results select {
      background-image: url("data:image/svg+xml;charset=UTF-8,<svg width='16' height='16' fill='gray' xmlns='http://www.w3.org/2000/svg'><path d='M4 6l4 4 4-4'/></svg>");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 18px 18px;
    }
    @media (max-width: 700px) {
      .results select,
      .room-select-row select,
      .flex-group select {
        width: 100%;
        min-width: 0;
        font-size: 1.08rem;
        height: 46px;
      }
      .flex-group select {
        width: 100%;
      }
    }

    /* ===== Daily Rates Display Enhancements ===== */

    .room-card > div[style*="margin-top: 15px"] > div[style*="font-weight: bold"] {
        color: #0a3d62;
        font-size: 1.1rem;
        border-bottom: 2px solid #eee;
        padding-bottom: 5px;
        margin-bottom: 10px !important; /* Override inline margin-bottom */
    }

    .room-card > div[style*="margin-top: 15px"] > div[style*="display: flex"] {
        /* Add a light container look for the daily grid */
        padding: 5px 0;
    }
    
    .room-card > div[style*="margin-top: 15px"] > div[style*="display: flex"] > div {
        /* Styling for each individual daily card */
        flex: 1 1 180px !important; /* Increased min-width for better layout */
        border: 1px solid #d1d8e0 !important;
        padding: 10px 15px !important;
        border-radius: 8px !important;
        background-color: #fcfdff !important;
        color: #0a3d62;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .room-card > div[style*="margin-top: 15px"] > div[style*="display: flex"] > div:hover {
        box-shadow: 0 4px 10px rgba(9, 132, 227, 0.1);
        transform: translateY(-2px);
    }

    /* Styling for the date inside the daily card */
    .room-card > div[style*="margin-top: 15px"] > div[style*="display: flex"] > div strong {
        display: block;
        color: #0984e3; /* Blue for the date */
        font-size: 1.05rem;
        margin-bottom: 3px;
    }

    /* Styling for the availability count */
    .room-card > div[style*="margin-top: 15px"] > div[style*="display: flex"] > div:last-child {
      color: #34495e;
    }
    
    /* Responsive adjustment for daily cards */
    @media (max-width: 500px) {
      .room-card > div[style*="margin-top: 15px"] > div[style*="display: flex"] > div {
        flex: 1 1 100% !important; 
      }
    }