/* Booking.com Connect Styles */

:root {
    --primary-color: #003580; /* Booking.com Blue */
    --secondary-color: #006ce4;
    --accent-color: #febb02; /* Booking.com Yellow */
    --text-color: #1a1a1a;
    --bg-light: #f5f7fa;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 53, 128, 0.1);
}

.bc-search-container {
    background: #fff;
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    font-family: 'Outfit', sans-serif;
}

.bc-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.bc-search-box-item {
    flex: 1;
    min-width: 200px;
    position: relative;
    border: 1px solid #e7e7e7;
    border-radius: var(--border-radius);
    padding: 12px 16px;
    background: #fff;
    transition: border-color 0.3s;
}

.bc-search-box-item:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(0, 108, 228, 0.2);
}

.bc-item-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bc-icon svg {
    fill: var(--text-color);
    opacity: 0.6;
}

.bc-search-box-item input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: var(--text-color);
    font-family: inherit;
    background: transparent;
}

.bc-date-inputs-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.bc-date-separator {
    color: #ccc;
}

/* Dropdown */
.bc-destination-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.bc-destination-dropdown.active {
    display: block;
}

.bc-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
}

.bc-dropdown-item:hover {
    background: var(--bg-light);
}

.bc-dropdown-item:last-child {
    border-bottom: none;
}

/* Occupancy Dropdown */
.bc-occupancy-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.bc-occupancy-dropdown.active {
    display: block;
}

.bc-counter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bc-counter-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bc-counter-actions button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    background: #fff;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.bc-counter-actions button:hover {
    background: var(--bg-light);
}

#bc-occupancy-done {
    width: 100%;
    padding: 10px;
    background: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Submit Button */
.bc-submit-box {
    flex: 0 0 auto;
    border: none;
    padding: 0;
    background: transparent;
}

.bc-submit-btn {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    height: 100%;
    min-height: 50px;
}

.bc-submit-btn:hover {
    background: var(--primary-color);
}

/* Results Grid */
.bc-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    font-family: 'Outfit', sans-serif;
}

.bc-hotel-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    cursor: pointer;
}

.bc-hotel-card:hover {
    transform: translateY(-5px);
}

.bc-hotel-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.bc-hotel-content {
    padding: 20px;
}

.bc-hotel-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.bc-hotel-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bc-hotel-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.bc-loading-state {
    text-align: center;
    padding: 40px;
    color: #666;
    display: none;
}

.bc-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Details Page */
.bc-details-wrapper {
    font-family: 'Outfit', sans-serif;
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.bc-detail-header {
    margin-bottom: 20px;
}

.bc-detail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bc-detail-address {
    color: #666;
}

.bc-detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    height: 400px;
    margin-bottom: 30px;
}

.bc-gallery-main {
    background-size: cover;
    background-position: center;
    border-radius: 8px 0 0 8px;
}

.bc-gallery-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.bc-gallery-sub {
    background-size: cover;
    background-position: center;
}

.bc-gallery-sub:first-child {
    border-radius: 0 8px 0 0;
}

.bc-gallery-sub:last-child {
    border-radius: 0 0 8px 0;
}

.bc-detail-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}


.bc-book-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
}

.bc-hotel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

