/* Checkout wizard (mobile-first) */
.rh-checkout-wizard {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 0.5rem;
}

.rh-checkout-progress {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
}

.rh-checkout-step-indicator {
    position: relative;
}

.rh-checkout-step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 0.6875rem;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    background: #e9ecef;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.rh-checkout-step-circle.is-active {
    background: #c57229;
    color: #fff;
    border-color: #c57229;
    transform: scale(1.05);
}

.rh-checkout-step-circle.is-completed {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.rh-checkout-step-circle i {
    font-size: 0.75rem;
}

.rh-checkout-step-number {
    font-weight: 600;
}

.rh-checkout-step-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
}

.rh-checkout-step-description {
    display: none;
    font-size: 0.7rem;
    line-height: 1.2;
}

.rh-checkout-progress-bar {
    width: 100%;
    height: 0.375rem;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 999px;
    background-color: #e9ecef;
    overflow: hidden;
    display: block;
}

.rh-checkout-progress-bar::-webkit-progress-bar {
    background-color: #e9ecef;
    border-radius: 999px;
}

.rh-checkout-progress-bar::-webkit-progress-value {
    background: linear-gradient(90deg, #c57229 0%, #d4823a 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.rh-checkout-progress-bar::-moz-progress-bar {
    background: linear-gradient(90deg, #c57229 0%, #d4823a 100%);
    border-radius: 999px;
}

.rh-checkout-step-content {
    background: #fff;
    border-radius: 0.25rem;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: none;
}

.rh-checkout-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1055;
}

.rh-checkout-loading-content {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.rh-livewire-error-toast {
    z-index: 1060;
    max-width: 90vw;
}

@media (min-width: 768px) {
    .rh-checkout-wizard {
        max-width: 50rem;
        padding: 1.5rem;
    }

    .rh-checkout-progress {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .rh-checkout-step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .rh-checkout-step-circle i {
        font-size: 1rem;
    }

    .rh-checkout-step-title {
        font-size: 0.875rem;
    }

    .rh-checkout-step-description {
        display: block;
        font-size: 0.75rem;
    }

    .rh-checkout-progress-bar {
        height: 0.5rem;
    }

    .rh-checkout-step-content {
        border-radius: 0.5rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .rh-checkout-loading-content {
        padding: 1.5rem 2rem;
    }
}
