/* AYSA Furniture Assembly Booking Wizard Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Ovo&display=swap');

.aysa-booking-wizard-container {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #070807;
    max-width: 920px;
    margin: 30px auto;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .aysa-booking-wizard-container {
        padding: 22px 16px;
        margin: 15px auto;
        border-radius: 16px;
    }
}

/* Wizard Header */
.aysa-wizard-header {
    text-align: center;
    margin-bottom: 35px;
}
.aysa-wizard-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #417572;
    background: #D5E8DF;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.aysa-wizard-title {
    font-family: 'Ovo', Georgia, serif;
    font-size: 38px;
    font-weight: 400;
    color: #070807;
    margin: 10px 0 12px 0;
    line-height: 1.25;
}
@media (max-width: 768px) {
    .aysa-wizard-title {
        font-size: 28px;
    }
}
.aysa-wizard-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    max-width: 600px;
    margin: 0 auto;
}

/* Stepper Progress Bar */
.aysa-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 10px;
}
.aysa-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}
.aysa-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F2F0EC;
    color: #777;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.aysa-step-item.active .aysa-step-circle {
    background: #417572;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(65, 117, 114, 0.3);
}
.aysa-step-item.completed .aysa-step-circle {
    background: #D5E8DF;
    color: #070807;
}
.aysa-step-name {
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    color: #888;
    white-space: nowrap;
}
.aysa-step-item.active .aysa-step-name {
    color: #070807;
    font-weight: 700;
}
.aysa-step-connector {
    flex-grow: 1;
    height: 2px;
    background: #E5E3DE;
    margin: -18px 8px 0 8px;
}

@media (max-width: 600px) {
    .aysa-step-name {
        display: none;
    }
    .aysa-step-connector {
        margin: 0 5px;
    }
}

/* Step Content Panels */
.aysa-wizard-step {
    display: none;
    animation: aysaFadeIn 0.3s ease forwards;
}
.aysa-wizard-step.active {
    display: block;
}
@keyframes aysaFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.aysa-step-heading {
    margin-bottom: 25px;
}
.aysa-step-heading h3 {
    font-family: 'Ovo', serif;
    font-size: 24px;
    margin: 0 0 6px 0;
    color: #070807;
}
.aysa-step-heading p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Grids & Form Controls */
.aysa-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
@media (max-width: 768px) {
    .aysa-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.aysa-form-group {
    margin-bottom: 20px;
}
.aysa-field-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #070807;
    margin-bottom: 8px;
}
.aysa-form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #E2DFD9;
    border-radius: 12px;
    background: #FAF9F7;
    font-family: inherit;
    font-size: 14.5px;
    color: #070807;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.aysa-form-control:focus {
    outline: none;
    border-color: #417572;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(65, 117, 114, 0.15);
}
.aysa-help-text {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
    display: block;
}

/* Service Cards */
.aysa-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.aysa-service-card {
    position: relative;
    cursor: pointer;
    display: block;
}
.aysa-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.aysa-card-inner {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #F2F0EC;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: all 0.25s ease;
}
.aysa-service-card:hover .aysa-card-inner {
    border-color: #417572;
    background: #FAF9F7;
}
.aysa-service-card input[type="radio"]:checked + .aysa-card-inner {
    border-color: #417572;
    background: #FFFFFF;
    box-shadow: 0 4px 18px rgba(65, 117, 114, 0.12);
}
.aysa-card-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}
.aysa-card-title {
    display: block;
    font-size: 14.5px;
    color: #070807;
    margin-bottom: 4px;
}
.aysa-card-desc {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Brand Pills */
.aysa-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.aysa-pill-btn {
    position: relative;
    cursor: pointer;
}
.aysa-pill-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.aysa-pill-text {
    display: inline-block;
    padding: 9px 18px;
    background: #F2F0EC;
    border: 1.5px solid transparent;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}
.aysa-pill-btn:hover .aysa-pill-text {
    background: #E8E5DF;
}
.aysa-pill-btn input[type="radio"]:checked + .aysa-pill-text {
    background: #417572;
    color: #FFFFFF;
    border-color: #417572;
    font-weight: 600;
}

/* 2-Hour Arrival Windows */
.aysa-windows-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.aysa-window-card {
    position: relative;
    cursor: pointer;
    display: block;
}
.aysa-window-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.aysa-window-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: #F2F0EC;
    border: 1.5px solid transparent;
    border-radius: 14px;
    transition: all 0.2s ease;
}
.aysa-window-card:hover .aysa-window-inner {
    background: #E8E5DF;
}
.aysa-window-card input[type="radio"]:checked + .aysa-window-inner {
    background: #FFFFFF;
    border-color: #417572;
    box-shadow: 0 3px 12px rgba(65, 117, 114, 0.12);
}
.aysa-window-badge {
    font-size: 14px;
    font-weight: 700;
    color: #417572;
    background: #D5E8DF;
    padding: 4px 10px;
    border-radius: 8px;
}
.aysa-window-label {
    font-size: 13px;
    color: #444;
}

/* Payment Cards */
.aysa-payment-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 25px;
}
@media (max-width: 650px) {
    .aysa-payment-options-grid {
        grid-template-columns: 1fr;
    }
}
.aysa-pay-card {
    position: relative;
    cursor: pointer;
    display: block;
}
.aysa-pay-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.aysa-pay-inner {
    padding: 20px;
    background: #F2F0EC;
    border: 2px solid transparent;
    border-radius: 18px;
    transition: all 0.25s ease;
    height: 100%;
    box-sizing: border-box;
}
.aysa-pay-card:hover .aysa-pay-inner {
    border-color: #417572;
}
.aysa-pay-card input[type="radio"]:checked + .aysa-pay-inner {
    background: #FFFFFF;
    border-color: #417572;
    box-shadow: 0 4px 20px rgba(65, 117, 114, 0.12);
}
.aysa-pay-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1B5E20;
    background: #D5E8DF;
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.aysa-pay-badge-teal {
    color: #FFFFFF;
    background: #417572;
}
.aysa-pay-name {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-family: 'Ovo', serif;
    color: #070807;
}
.aysa-pay-desc {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 14px 0;
}
.aysa-pay-pricing {
    border-top: 1px dashed #DDD;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}
.aysa-pay-due strong {
    color: #417572;
    font-size: 15px;
}
.aysa-pay-balance strong {
    color: #D32F2F;
}

/* Card Box (Stripe Elements / Secure Inputs) */
.aysa-card-box {
    background: #FAF9F7;
    border: 1px solid #E2DFD9;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 25px;
}

/* Summary Card */
.aysa-summary-card {
    background: #F2F0EC;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #E2DFD9;
    margin-bottom: 25px;
}
.aysa-summary-title {
    font-family: 'Ovo', serif;
    font-size: 18px;
    margin: 0 0 14px 0;
    color: #070807;
}
.aysa-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) {
    .aysa-summary-grid {
        grid-template-columns: 1fr;
    }
}
.aysa-sum-label {
    display: block;
    font-size: 11.5px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aysa-sum-val {
    font-size: 14px;
    color: #070807;
}

/* Total Price Bar */
.aysa-total-row {
    background: #FAF9F7;
    border: 1.5px solid #E2DFD9;
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}
.aysa-total-left strong {
    font-size: 18px;
    margin-left: 8px;
}
.aysa-total-right strong {
    font-size: 22px;
    margin-left: 8px;
}

/* Wizard Buttons */
.aysa-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #EAE8E4;
}
.aysa-btn {
    border-radius: 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.aysa-btn-next, .aysa-btn-submit {
    background: #D5E8DF;
    color: #070807;
}
.aysa-btn-next:hover, .aysa-btn-submit:hover {
    background: #bdd9cb;
    box-shadow: 0 4px 15px rgba(65, 117, 114, 0.2);
}
.aysa-btn-prev, .aysa-btn-secondary {
    background: #F2F0EC;
    color: #333;
}
.aysa-btn-prev:hover, .aysa-btn-secondary:hover {
    background: #E5E3DE;
}

/* Success View */
.aysa-success-box {
    text-align: center;
    padding: 20px 0;
}
.aysa-success-icon {
    width: 64px;
    height: 64px;
    background: #D5E8DF;
    color: #1B5E20;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}
