/* ─── Aserva Setup Wizard ─────────────────────────────────────────────── */

.aserva-wizard-wrap {
    max-width: 640px;
    margin: 40px auto;
}

.aserva-wizard {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

/* Progress Bar */
.aserva-wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.aserva-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.aserva-wizard-step.active {
    opacity: 1;
}

.aserva-wizard-step.completed {
    opacity: 1;
}

.aserva-wizard-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.aserva-wizard-step.active .step-number {
    background: #f97316;
    color: #fff;
}

.aserva-wizard-step.completed .step-number {
    background: #22c55e;
    color: #fff;
}

.aserva-wizard-step .step-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.aserva-wizard-connector {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 12px;
    margin-bottom: 20px;
}

/* Panels */
.aserva-wizard-panel {
    text-align: center;
    animation: aservaFadeIn 0.4s ease;
}

@keyframes aservaFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.aserva-wizard-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.aserva-wizard-panel h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.aserva-wizard-desc {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.aserva-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.aserva-btn-primary {
    background: #f97316;
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.aserva-btn-primary:hover {
    background: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    color: #fff;
}

.aserva-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.aserva-btn-secondary:hover {
    background: #e5e7eb;
}

.aserva-btn-text {
    background: none;
    color: #6b7280;
    padding: 12px 16px;
}

.aserva-btn-text:hover {
    color: #374151;
}

.aserva-btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

/* Divider */
.aserva-wizard-divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
    gap: 16px;
}

.aserva-wizard-divider::before,
.aserva-wizard-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.aserva-wizard-divider span {
    font-size: 13px;
    color: #9ca3af;
}

/* Manual Setup Form */
.aserva-manual-setup {
    text-align: left;
}

.aserva-field {
    margin-bottom: 20px;
}

.aserva-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.aserva-input,
.aserva-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.aserva-input:focus,
.aserva-select:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.aserva-field-help {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 6px;
}

.aserva-wizard-help {
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
}

.aserva-wizard-help a {
    color: #f97316;
    font-weight: 600;
}

/* Customize Grid */
.aserva-customize-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
    margin-bottom: 32px;
}

.aserva-customize-grid .aserva-field:last-child {
    grid-column: 1 / -1;
}

.aserva-color-input {
    width: 60px;
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
}

/* Actions */
.aserva-wizard-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Done Cards */
.aserva-done-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.aserva-done-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}

.aserva-done-card:hover {
    border-color: #f97316;
    background: #fff7ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

.aserva-done-icon {
    font-size: 28px;
}

.aserva-done-card strong {
    font-size: 14px;
    color: #111;
}

.aserva-done-card span:last-child {
    font-size: 12px;
    color: #9ca3af;
}

/* Confetti */
.aserva-confetti {
    animation: asrvBounce 0.6s ease;
}

@keyframes asrvBounce {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
