/* Booking Page Specific Styles */

.booking-form-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.booking-form-content {
    /* Linke Spalte: Formular */
}

.booking-form-header {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

.booking-form-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 700;
}

.booking-form-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2rem;
}

.booking-estimate-notice {
    background: #ffd700;
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #000;
}

.booking-estimate-notice p {
    margin: 0;
    font-size: 0.95rem;
    color: #000;
    line-height: 1.6;
}

.booking-estimate-notice strong {
    color: #000;
}

.booking-estimate-notice details {
    margin-top: 0.5rem;
}

.booking-estimate-notice summary {
    cursor: pointer;
    font-weight: 600;
    color: #000;
    list-style: none;
}

.booking-estimate-notice summary::-webkit-details-marker {
    display: none;
}

.booking-estimate-notice summary::before {
    content: "▼ ";
    display: inline-block;
    transition: transform 0.2s;
}

.booking-estimate-notice details[open] summary::before {
    transform: rotate(-90deg);
}

.booking-estimate-notice details p {
    margin: 0.5rem 0 0 1rem;
    color: #000;
    font-size: 0.9rem;
}

/* Service Selection Cards */
.service-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-card-wrapper {
    position: relative;
}

.service-card-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.service-card {
    padding: 1.25rem;
    border: 3px solid #000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000;
    color: #fff;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-card:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.service-card-wrapper input[type="radio"]:checked + .service-card {
    background: #000;
    color: #fff;
    border-color: #ffd700;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.service-card h3 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.service-card p {
    font-size: 0.85rem;
    color: #fff;
    opacity: 0.8;
    margin: 0;
}

.service-price {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #ffd700;
    color: #000;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Form Sections */
.booking-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ffd700;
}

.booking-section:last-of-type {
    border-bottom: none;
}

.booking-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

/* Booking Details Inputs */
.booking-section input[type="text"],
.booking-section input[type="email"],
.booking-section input[type="tel"],
.booking-section input[type="number"],
.booking-section input[type="date"],
.booking-section input[type="time"],
.booking-section textarea,
.booking-section select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ffd700;
    border-radius: 4px;
    font-size: 1rem;
    background: #000;
    color: #fff;
}

/* Date and Time Picker Styling */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    background-color: #ffd700;
    padding: 5px;
    cursor: pointer;
    border-radius: 3px;
    filter: invert(1);
}

input[type="date"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
    color: #fff;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    color: #fff;
}

input[type="date"]::-webkit-datetime-edit-text,
input[type="time"]::-webkit-datetime-edit-text {
    color: #fff;
    padding: 0 0.3em;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field {
    color: #fff;
}

/* Details Sections */
#standard-details,
#moving-details {
    display: none;
}

#standard-details.active,
#moving-details.active {
    display: block;
}

/* Summary Card - Sticky Right Side */
.booking-summary {
    background: #000;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #ffd700;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.booking-summary h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ffd700;
}

.summary-row.hidden {
    display: none;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: #fff;
}

.summary-value {
    font-weight: 600;
    color: #fff;
    text-align: right;
}

.summary-total {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #000;
    border-radius: 8px;
    border: 2px solid #ffd700;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.summary-total-note {
    font-size: 0.85rem;
    color: #fff;
    margin-top: 0.25rem;
}

.summary-total-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
}

/* Submit Button */
.booking-submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 2rem;
    background: #ffd700;
    color: #000;
    border: 2px solid #ffd700;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-submit-btn:hover:not(:disabled) {
    background: #ffed4e;
    border-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.booking-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-footer-note {
    text-align: center;
    font-size: 0.9rem;
    color: #fff;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Status Messages */
.calculating {
    color: #ffd700;
    font-style: italic;
}

.error-message {
    color: #ff0000;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .booking-form-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-form-header {
        grid-column: 1;
    }

    .booking-summary {
        position: static;
    }
}

@media (max-width: 968px) {
    .service-selection {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-selection {
        grid-template-columns: 1fr;
    }

    .booking-form-section {
        padding: 1rem;
    }

    .booking-form-title {
        font-size: 2rem;
    }

    .summary-total-value {
        font-size: 1.5rem;
    }
}
