/* ========== PRIVATE DINNER SECTION STYLES ========== */

.private-dinner-section {
    background: #0d0a04;
    padding: 140px 5vw 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.private-dinner-container {
    width: 100%;
    max-width: 900px;
    background: #14110b;
    border-radius: 40px;
    padding: 60px 80px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.private-dinner-title {
    font-family: 'Jost', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: left;
}

.private-dinner-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
}

.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
    width: 100%;
}

.private-dinner-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group.full-width {
    grid-column: span 1;
    width: 100%;
    margin-bottom: 25px;
}

/* For grid rows, span the columns if they are full width */
.form-row .form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.form-group label .required {
    color: #ff4d4d;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #1c1811;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 45px;
}

.select-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    font-size: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dca959;
    background: #251f16;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #ff4d4d;
    display: none;
    margin-top: 4px;
}

.error-message.active {
    display: block;
}

.form-submit {
    margin-top: 20px;
}

.submit-btn.gold-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dca959 0%, #b38641 100%);
    border: none;
    border-radius: 40px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn.gold-btn span {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.form-feedback {
    margin-top: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    display: none;
}

.form-feedback.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-feedback.active {
    display: block;
}

/* Utility classes from previous pickers */
.readonly-input {
    cursor: pointer;
}

/* Reuse Picker Styles from Car Book or define here if needed 
   Ideally, these should be in a shared common-pickers.css later 
*/

/* ========== SHARED PICKER STYLES (MATCHING CAR-BOOK) ========== */
.picker-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #14110b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 40px;
    z-index: 1000;
    width: 380px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.picker-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.picker-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calendar-month-year {
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.calendar-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 15px;
}

.day-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

.calendar-day.selected {
    background: #dca959;
    color: #14110b;
    font-weight: 700;
}

.calendar-day.today {
    border: 1px solid rgba(220, 169, 89, 0.4);
}

.time-display {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #dca959;
    text-align: center;
    margin-bottom: 20px;
}

.am-pm-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 20px;
}

.toggle-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
}

.toggle-btn.active {
    background: #dca959;
    color: #14110b;
}

.time-grid-container {
    max-height: 250px;
    overflow-y: auto;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-item {
    padding: 12px 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}

.time-item.selected {
    background: #dca959;
    color: #14110b;
}

.picker-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.picker-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.picker-btn.cancel {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.picker-btn.confirm {
    background: #dca959;
    color: #14110b;
    border: none;
}

/* ---- Mobile Responsiveness ---- */
@media (max-width: 768px) {
    .private-dinner-section {
        padding: 120px 20px 60px;
    }

    .private-dinner-container {
        padding: 40px 25px;
        border-radius: 30px;
    }

    .private-dinner-title {
        font-size: 32px;
        text-align: center;
    }

    .private-dinner-subtitle {
        text-align: center;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row .form-group.full-width {
        grid-column: span 1;
    }

    .picker-modal {
        width: 90%;
        padding: 30px 20px;
    }
}