.maderina-wizard-container {
    max-width: 850px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    direction: rtl;
    font-family: Tahoma, 'IRANSans', sans-serif;
    color: #2c3e50;
}

/* Steps Progress Header */
.wizard-steps-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 15px;
}

.step-header-item {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.step-header-item.active {
    color: #7a539a; /* رنگ برند */
    font-weight: 700;
}

.step-header-item.completed {
    color: #38a169;
}

.step-number {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: #edf2f7;
    margin_left: 8px;
    font-size: 0.85rem;
}

.step-header-item.active .step-number {
    background: #7a539a;
    color: #fff;
}

.step-header-item.completed .step-number {
    background: #38a169;
    color: #fff;
}

/* Step Content Sections */
.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Fields Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4a5568;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #7a539a;
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 83, 154, 0.15);
}

/* BMI Live Indicator Box */
.bmi-display-box {
    background: #f7fafc;
    border: 1px dashed #cbd5e0;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
}

.bmi-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #7a539a;
}

.bmi-category {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Consent Terms Box */
.consent-scroll-box {
    height: 180px;
    overflow-y: scroll;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Buttons Controls */
.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
}

.btn-maderina {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.btn-primary { background: #7a539a; color: #fff; }
.btn-primary:hover { background: #633f80; }
.btn-secondary { background: #e2e8f0; color: #4a5568; }
.btn-secondary:hover { background: #cbd5e0; }

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}