/* Main Wrapper */
.spr-reservation-form-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #eee;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
}

/* Section Headers */
.spr-section-title {
    font-size: 16px;
    color: #1a2b49;
    /* Dark Blue from screenshot */
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: none;
}

.spr-section-group {
    margin-bottom: 30px;
}

/* Form Rows & Grid */
.spr-form-row {
    display: flex;
    gap: 30px;
    /* Wider gap like in screenshot */
    margin-bottom: 20px;
}

.spr-compact-row {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 4px;
    background: #fff;
}

.spr-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Labels */
.spr-form-group label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: #7a8b9a;
    /* Muted blue/gray */
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.5px;
}

/* Inputs */
.spr-form-group input[type="text"],
.spr-form-group input[type="email"],
.spr-form-group input[type="tel"],
.spr-form-group input[type="date"],
.spr-form-group input[type="time"],
.spr-form-group input[type="number"],
.spr-form-group select,
.spr-form-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #eee;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}

.spr-form-group input:focus,
.spr-form-group select:focus,
.spr-form-group textarea:focus {
    border-color: #178090;
    /* Teal focus color */
    box-shadow: 0 0 0 1px rgba(23, 128, 144, 0.1);
}

/* Checkbox */
.spr-form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Parking Types & Payment Methods Cards */
.spr-parking-types,
.spr-payment-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.spr-parking-card,
.spr-payment-card {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 200px;
}

.spr-parking-card:hover,
.spr-payment-card:hover {
    border-color: #b0b0b0;
}

.spr-parking-card.selected,
.spr-payment-card.selected {
    border-color: #178090;
    background-color: #f0fdff;
}

.spr-parking-card input[type="radio"],
.spr-payment-card input[type="radio"] {
    margin-right: 15px;
    accent-color: #178090;
    transform: scale(1.2);
}

.spr-card-content {
    display: flex;
    flex-direction: column;
}

.spr-card-title {
    font-weight: 700;
    font-size: 16px;
    color: #1a2b49;
    margin-bottom: 5px;
}

.spr-card-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.spr-card-price {
    font-weight: 700;
    font-size: 18px;
    color: #178090;
}

/* Total Price */
.spr-total-price-container {
    background: #1a2b49;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.spr-total-amount {
    font-weight: 700;
    font-size: 24px;
}

/* Submit Button */
.spr-form-actions {
    margin-top: 20px;
}

.spr-submit-button {
    background: #178090;
    /* Teal color from screenshot */
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    width: 100%;
    /* Full width button */
    display: block;
}

.spr-submit-button:hover {
    background: #126673;
}

.spr-submit-button:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Spinner */
.spr-spinner {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    display: block;
    text-align: center;
}

/* Messages */
.spr-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.spr-message.spr-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.spr-message.spr-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive Design */
@media (max-width: 768px) {
    .spr-reservation-form-wrapper {
        padding: 20px;
        margin: 20px 0;
        border: none;
    }

    .spr-form-row {
        flex-direction: column;
        gap: 20px;
    }

    .spr-compact-row {
        padding: 15px;
    }

    .spr-parking-types,
    .spr-payment-methods {
        flex-direction: column;
    }
}

/* Trust Signals Section (V2 Elegant) */
.spr-trust-signals-wrapper {
    margin-top: 35px;
    border-top: 1px solid #eee;
    padding-top: 30px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #0f172a;
    background: #fff;
    margin-bottom: 20px;
    border-radius: 12px;
}

/* 1. Top Row */
.spr-trust-header-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.spr-trust-review-badge,
.spr-trust-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.2s;
}

.spr-trust-review-badge:hover {
    opacity: 0.8;
}

.spr-stars {
    color: #fbbf24;
    font-size: 20px;
}

.spr-trust-secure-badge svg {
    color: #000;
}


/* 2. Benefits Grid */
.spr-benefits-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

.spr-benefit-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 150px;
}

.spr-icon-large {
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spr-benefit-pill span {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
}


/* 3. Payment Methods Row */
.spr-payment-methods-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.spr-method-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #e2e8f0;
    padding: 20px 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.spr-method-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.spr-method-icon-large {
    color: #000;
    margin-bottom: 10px;
}

.spr-method-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
}

.spr-method-desc {
    font-size: 12px;
    color: #64748b;
}

/* Responsive for Trust Signals */
@media (max-width: 768px) {
    .spr-trust-header-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .spr-benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .spr-payment-methods-row {
        flex-direction: column;
    }

    .spr-method-box {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Date Dropdowns Styling (Custom) */
.spr-date-selects-wrapper {
    display: flex !important;
    /* Force flex */
    flex-direction: row !important;
    /* Force row */
    flex-wrap: nowrap !important;
    /* Prevent wrapping */
    gap: 10px;
    width: 100%;
    align-items: center;
}

.spr-date-selects-wrapper select.spr-date-select {
    width: auto !important;
    padding: 10px 5px !important;
    /* Reduced padding for better fit */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin: 0 !important;
    /* Remove potential browser margins */
    height: 42px;
    /* Fixed height to match */
}

/* Day */
.spr-date-selects-wrapper .spr-day {
    flex: 0 0 70px !important;
    min-width: 60px;
}

/* Month */
.spr-date-selects-wrapper .spr-month {
    flex: 1 1 auto !important;
    /* Allow grow/shrink */
    min-width: 100px;
}

/* Year */
.spr-date-selects-wrapper .spr-year {
    flex: 0 0 80px !important;
    min-width: 70px;
}

@media (max-width: 480px) {
    .spr-date-selects-wrapper {
        gap: 5px;
    }

    /* On very small screens, let them shrink a bit more but keep row */
    .spr-date-selects-wrapper .spr-day {
        flex: 0 0 55px !important;
    }

    .spr-date-selects-wrapper .spr-year {
        flex: 0 0 65px !important;
    }

    .spr-date-selects-wrapper select.spr-date-select {
        font-size: 13px !important;
        /* Smaller text safe for mobile */
        padding: 10px 2px !important;
    }
}