/* Search Bar Component Styling - Transparent Container & White Fields Version */

.search-container {
    position: absolute;

    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 999;
    padding: 0;
    /* Container background transparent, no padding needed */
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
    /* Prevent FOUC */
    opacity: 0;
    visibility: hidden;
}

.search-tabs {
    display: flex;
    justify-content: center;
    /* Center the buttons */
    gap: 10px;
    margin-bottom: 15px;
}
.tab-btn {
    background: #ffffff;
    /* Solid White */
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #4a5568;
    padding: 10px 24px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tab-btn.active {
    background: #ecad29;
    color: #fff;
    border-color: #ecad29;
    box-shadow: 0 4px 15px rgba(236, 173, 41, 0.3);
}

.tab-btn:hover:not(.active) {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.search-form {
    display: flex;
    background: transparent;
    padding: 0;
    gap: 12px;
    align-items: stretch;
}

/* Solid White Fields */
.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
    border-radius: 16px;
    background: #ffffff;
    /* Bembeyaz */
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-field:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #ecad29;
}

.search-field label {
    font-size: 10px;
    color: #a0aec0;
    /* Soft dark for labels on white */
    margin-bottom: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.search-field input {
    background: none;
    border: none;
    color: #2d3748;
    /* Dark text for inputs on white */
    font-size: 15px;
    font-weight: 600;
    outline: none;
    width: 100%;
}

.search-field input::placeholder {
    color: #cbd5e0;
}

.flex-field {
    flex: 2;
    display: flex;
    flex-direction: row;
    padding: 0;
    align-items: stretch;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.flex-field .inner-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 20px;
}

.flex-field:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: #ecad29;
}

.flex-field .divider {
    width: 1px;
    background: #edf2f7;
    margin: 15px 0;
}

.guest-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #2d3748;
    font-size: 14px;
    font-weight: 700;
}

.guest-selector button {
    background: #edf2f7;
    border: none;
    color: #4a5568;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.guest-selector button:hover {
    background: #e2e8f0;
    color: #2d3748;
}

.search-submit {
    background: #ecad29;
    border: none;
    width: 60px;
    min-width: 60px;
    border-radius: 16px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(236, 173, 41, 0.4);
}

.search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(236, 173, 41, 0.5);
}

.search-submit svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
}