/* AG Booking Form - Modern Style */
.ag-booking-container {
    padding: 20px;
    font-family: 'Inter', sans-serif;
    /* Prefer modern font */
}

/* SEARCH BAR STYLES */
.ag-search-form {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
    border: none;
}

.ag-form-group {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    padding: 8px 12px;
    min-width: 160px;
    flex: 1;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
}

.ag-form-group.ag-promo-group {
    background: transparent;
    border: none;
    flex: 0 0 auto;
    min-width: auto;
    align-items: center;
    justify-content: center;
}

.ag-form-group label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 2px;
    font-weight: normal;
    text-transform: capitalize;
}

.ag-form-group input[type="date"],
.ag-form-group select {
    width: 100%;
    padding: 2px 0;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}

.ag-promo-link {
    color: #333;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.ag-search-btn {
    padding: 15px 30px;
    background: #5D4037;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    height: 100%;
    min-height: 58px;
    flex: 0 0 auto;
}

.ag-search-btn:hover {
    background: #4E342E;
}

/* RESULTS HEADER (Reviews & Filters) */
.ag-results-header {
    margin-bottom: 30px;
    text-align: center;
}

.ag-results-header h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
}

.ag-review-box {
    background: #fdfaf6;
    /* Light beige bg */
    border: 1px solid #f0e6d2;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-align: left;
    border-radius: 4px;
}

.ag-review-score-box {
    background: #e6f4ea;
    /* Light green */
    color: #1e8e3e;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    min-width: 80px;
}

.ag-score-val {
    font-size: 1.4rem;
    font-weight: 800;
}

.ag-score-max {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

.ag-score-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ag-review-content {
    flex: 1;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.ag-review-meta {
    margin-bottom: 5px;
    color: #333;
}

.ag-review-date {
    color: #888;
    font-weight: normal;
    margin-left: 10px;
    font-size: 0.8rem;
}

.ag-review-btn-box button {
    background: #eee;
    border: none;
    padding: 10px;
    font-size: 0.8rem;
    cursor: pointer;
    color: #555;
    border-radius: 4px;
}

.ag-filters-bar {
    display: flex;
    gap: 10px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 4px;
    background: white;
}

.ag-filter-pill {
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    /* Pill shape */
    padding: 5px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ROOM GRID MODERN */
.ag-rooms-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ag-room-card-modern {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0px;
    /* Boxy */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ag-room-image-modern {
    position: relative;
    height: 200px;
    background: #eee;
}

.ag-room-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ag-badge-left {
    position: absolute;
    top: 0;
    left: 15px;
    background: #388e3c;
    /* Green badge */
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

.ag-room-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    z-index: 2;
}

.ag-room-content-modern {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ag-room-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ag-toggle-icon {
    font-size: 0.8rem;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ag-room-meta-modern {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ag-room-meta-modern span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ag-room-footer-modern {
    margin-top: auto;
}

.ag-room-pricing-modern {
    margin-bottom: 15px;
}

.ag-discount-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.ag-discount-badge {
    background: #388e3c;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 2px;
}

.ag-price-strike {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.ag-price-block {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.ag-price-label {
    font-size: 0.9rem;
    color: #666;
}

.ag-price-val {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4b5563;
    /* or specific green/brand color */
}

.ag-price-sub {
    font-size: 0.75rem;
    color: #888;
}

.ag-book-btn {
    /* Reusing class for functionality but styling modern */
    width: 100%;
    background: #5D4037;
    /* Brown */
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: capitalize;
    /* "Select" */
    border-radius: 2px;
}

.ag-book-btn:hover {
    background: #4E342E;
}

@media (max-width: 768px) {
    .ag-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .ag-search-btn {
        width: 100%;
    }

    .ag-review-box {
        flex-direction: column;
        text-align: center;
    }
}