/* --- Core Theme & Variables --- */
:root {
    --theme-color: #f1b800;
    --theme-dark: #cfa000;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --bg-soft: #f9f9f9;
    --radius-lg: 16px;
    --radius-md: 12px;
}

/* --- Google Maps Fix --- */
.pac-container { z-index: 1055 !important; border-radius: 0 0 8px 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: none; }

/* --- Modal Styling --- */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 24px;
}

.modal-title {
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Close Button Fix */
.close-btn-custom {
    background: #f1f1f1;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #555;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.close-btn-custom:hover { background: #e0e0e0; color: #000; }

/* --- Form Elements --- */
.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 700 !important;
}

.form-control {
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    padding: 12px 15px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
    height: auto; /* Fix for dropdowns showing half */
    min-height: 48px; /* Ensure touch targets are large enough */
}

.form-control:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px rgba(241, 184, 0, 0.15);
    outline: none;
}

/* Specific Fix for Select Dropdowns */
select.form-control {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px; /* Space for the arrow */
    line-height: normal; /* Fix vertical alignment */
}

/* --- Sections --- */
.booking-section {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

/* Category Select Wrapper */
.category-wrapper {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px dashed #ddd;
}

/* --- Map --- */
.map-container {
    height: 280px;
    width: 100%;
    border-radius: var(--radius-md);
    background-color: #eee;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    border: 2px solid #fff;
}

/* --- Price Summary Card --- */
.price-card {
    background: linear-gradient(145deg, #ffffff, #fcfcfc);
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.price-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--theme-color);
}
.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.price-divider {
    border-top: 2px dashed #eee;
    margin: 15px 0;
}
.total-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* --- Buttons --- */
.btn-primary.theme-btn {
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
    color: #000 !important;
    font-weight: 700;
    padding: 14px;
    border-radius: var(--radius-md);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(241, 184, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary.theme-btn:hover {
    background-color: var(--theme-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 184, 0, 0.4);
}
.btn-primary.theme-btn:disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
    transform: none;
}

/* --- Bank Transfer Section --- */
.bank-transfer-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}
.bank-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--text-dark);
    color: var(--theme-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- Utility --- */
.input-icon-wrapper { position: relative; }
.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--theme-color);
    z-index: 2; /* Ensure icon is above select background */
    pointer-events: none; /* Let clicks pass through to select */
}
.input-with-icon { padding-left: 45px; }

.loading-spinner { display: none; margin-left: 10px; width: 1.5rem; height: 1.5rem; border-width: 0.2em; }
