.bmi-full-wrapper {
    width: 100% !important;
    box-sizing: border-box;
    padding: 30px 15px;
    background: linear-gradient(135deg, #f8f6fb 0%, #ede7f3 100%);
    direction: rtl;
    font-family: inherit;
}

.bmi-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(95, 63, 122, 0.08);
    border: 1px solid rgba(95, 63, 122, 0.12);
}

.bmi-header {
    text-align: center;
    margin-bottom: 35px;
}

.bmi-badge {
    display: inline-block;
    background: rgba(95, 63, 122, 0.1);
    color: #5f3f7a;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.bmi-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2d1840;
    margin: 0 0 6px 0;
}

.bmi-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5f3f7a;
    margin: 0 0 10px 0;
}

.bmi-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.bmi-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bmi-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bmi-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .bmi-grid-2, .bmi-grid-3 {
        grid-template-columns: 1fr;
    }
}

.bmi-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bmi-field-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.bmi-field-group input, 
.bmi-field-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fdfbfd;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: all 0.25s ease;
}

.bmi-field-group input:focus, 
.bmi-field-group select:focus {
    border-color: #5f3f7a;
    box-shadow: 0 0 0 4px rgba(95, 63, 122, 0.12);
    background: #ffffff;
}

.otp-input {
    letter-spacing: 12px;
    text-align: center;
    font-size: 1.5rem !important;
    font-weight: 800;
}

.bmi-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #5f3f7a 0%, #432a58 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(95, 63, 122, 0.25);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.bmi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(95, 63, 122, 0.35);
}

/* نمودار کلوچه‌ای دایره‌ای */
.bmi-result-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

@media (max-width: 850px) {
    .bmi-result-grid {
        grid-template-columns: 1fr;
    }
}

.bmi-chart-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #faf8fc;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #f0eaf5;
}

.donut-chart-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.donut-svg {
    transform: rotate(-90deg);
    border-radius: 50%;
}

.donut-pointer-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotate(0deg);
}

.donut-pointer {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #1e293b;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.donut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.donut-center-text small {
    font-size: 0.8rem;
    color: #64748b;
}

.donut-center-text strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: #5f3f7a;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: #475569;
}

.chart-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.chart-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* اطلاعات پیشنهاد */
.bmi-info-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bmi-status-badge {
    background: #f97316;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.bmi-rec-head {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2d1840;
    margin: 0 0 8px 0;
}

.bmi-rec-sub {
    font-size: 1rem;
    color: #5f3f7a;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.bmi-reason-box {
    background: #f5f0fa;
    border-right: 4px solid #5f3f7a;
    padding: 16px;
    border-radius: 12px 4px 4px 12px;
    width: 100%;
}

.bmi-reason-box h5 {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    color: #5f3f7a;
    font-weight: 800;
}

.bmi-reason-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.6;
}

/* هشدار */
.bmi-disclaimer {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbe3;
    border: 1px solid #fef08a;
    padding: 14px 18px;
    border-radius: 14px;
    color: #854d0e;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.bmi-disclaimer svg {
    flex-shrink: 0;
    color: #ca8a04;
}

/* دکمه‌های اقدام */
.bmi-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bmi-btn-consult {
    flex: 2;
    min-width: 200px;
    text-align: center;
    padding: 14px 20px;
    background: #5f3f7a;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bmi-btn-consult:hover {
    background: #432a58;
}

.bmi-btn-consult:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.bmi-btn-wa {
    flex: 2;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.bmi-btn-wa:hover {
    background: #1da851;
}

.bmi-btn-secondary {
    flex: 1;
    min-width: 120px;
    padding: 14px 16px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
}

/* پیام تایید درخواست مشاوره تلفنی */
#bmi-consult-notice {
    display: none;
    margin-top: 15px;
    padding: 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.bmi-msg {
    margin-top: 15px;
    text-align: center;
    font-weight: 700;
}