 
body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    padding: 0;
	margin: 0;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 1.2em;
}

/* Holiday Search Form Styles */
.holiday-search-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
/* Dropdown Backdrop */
.dropdown-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
}

.dropdown-backdrop.show {
    display: block;
}

/* UPDATE existing .search-grid */
.search-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* Changed from repeat(auto-fit, minmax(200px, 1fr)) */
    gap: 15px;
}

/* UPDATE existing .dropdown-panel */
.dropdown-panel {
    position: fixed; /* Changed from display: none */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 1160px;
    top: auto; /* Will be set by JavaScript */
    max-height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    padding: 10px;
    z-index: 1000;
    display: none;
}
 

.form-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.form-field input[type="text"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-field input[type="text"]:focus,
.form-field input[type="date"]:focus,
.form-field input[type="number"]:focus,
.form-field select:focus {
    outline: none;
    border-color: #4CAF50;
}
.rating-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}
.search-button {
    padding: 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button:hover {
    background: #45a049;
}

/* Dropdown Panels */
.dropdown-panel {
    display: none;
    width: 100%;
    height: 400px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 10px;
}

.dropdown-panel.show {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.dropdown-group {
    margin-bottom: 15px;
}

.dropdown-group-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.dropdown-option {
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-option:hover {
    background: #f0f0f0;
}

.dropdown-option input {
    margin-right: 8px;
}

.selected-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.badge {
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge .remove {
    cursor: pointer;
    font-weight: bold;
}

/* Rooms & Guests Styles */
.rooms-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.room-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    background: #f9f9f9;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.room-header strong {
    color: #333;
}

.remove-room-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.remove-room-btn:hover {
    background: #d32f2f;
}

.room-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.guest-field {
    display: flex;
    flex-direction: column;
}

.guest-field label {
    font-size: 13px;
    margin-bottom: 5px;
}

.guest-field input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.children-ages {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.child-age-field {
    display: flex;
    flex-direction: column;
}

.child-age-field label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #666;
}

.child-age-field select {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.room-actions {
    margin-top: 10px;
}

.add-room-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.add-room-btn:hover {
    background: #1976D2;
}

.add-room-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Results Section Styles */
.results-section {
    margin-top: 30px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.search-summary p {
    margin: 5px 0;
    color: #666;
}

.results-count {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4CAF50;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: #4CAF50;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

.results-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.results-table tr:hover {
    background: #f9f9f9;
}

.hotel-name {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.location {
    color: #666;
    font-size: 14px;
}

.stars {
    color: #ffa500;
    font-size: 14px;
    margin-top: 5px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.flight-info {
    font-size: 13px;
    color: #666;
}

.board-type {
    display: inline-block;
    padding: 4px 8px;
    background: #e8f5e9;
    border-radius: 4px;
    font-size: 12px;
    color: #2e7d32;
}

.room-type {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.no-results {
    text-align: center;
    padding: 40px;
}

.no-results h2 {
    color: #666;
    margin-bottom: 15px;
}

.no-results ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    color: #666;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
