/* Container design system styling */
.wphc-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    background-color: #121212;
    /* پس‌زمینه تیره */
    color: #ffffff;
    /* متن سفید */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    font-family: inherit;
    direction: rtl;
    border: 1px solid #222222;
}

.wphc-title {
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid #b5e82f;
    /* خط زیر تایتل با رنگ شاخص */
    padding-bottom: 10px;
}

.wphc-group {
    margin-bottom: 20px;
}

.wphc-row {
    display: flex;
    gap: 15px;
}

.wphc-col {
    flex: 1;
}

.wphc-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #aaaaaa;
}

/* فیلدها و استایل ورودی‌ها */
.wphc-input,
.wphc-select {
    width: 100%;
    padding: 12px;
    background-color: #1e1e1e;
    border: 1px solid #333333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.wphc-input:focus,
.wphc-select:focus {
    border-color: #b5e82f;
    outline: none;
    box-shadow: 0 0 5px rgba(181, 232, 47, 0.4);
}

/* طراحی دکمه‌های رادیویی جنسیت */
.wphc-radio-group {
    display: flex;
    gap: 20px;
}

.wphc-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #ffffff;
}

.wphc-radio-label input[type="radio"] {
    margin-left: 8px;
    accent-color: #b5e82f;
    /* رنگ کنترل رادیویی */
}

/* دکمه محاسبه با رنگ تم درخواستی */
.wphc-btn {
    width: 100%;
    padding: 14px;
    background-color: #b5e82f;
    color: #000000;
    /* متن مشکی روی پس‌زمینه فسفری برای خوانایی */
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.wphc-btn:hover {
    background-color: #a2d125;
}

.wphc-btn:active {
    transform: scale(0.98);
}

/* نتایج */
.wphc-results-box {
    margin-top: 25px;
    padding: 20px;
    background-color: #1e1e1e;
    border-right: 4px solid #b5e82f;
    border-radius: 6px;
}

.wphc-results-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 18px;
}

.wphc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
}

.wphc-result-item strong {
    color: #b5e82f;
    font-size: 18px;
}

.wphc-result-item .unit {
    font-size: 12px;
    color: #888888;
    margin-right: 5px;
}

.wphc-result-item-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    margin-top: 5px;
    color: #000;
}

/* رنگ بندی وضعیت‌های BMI */
.status-underweight {
    background-color: #ffeb3b;
}

.status-normal {
    background-color: #b5e82f;
}

.status-overweight {
    background-color: #ff9800;
}

.status-obese {
    background-color: rgb(255, 43, 43);
    color: #fff;
}

.wphc-divider {
    border: 0;
    height: 1px;
    background: #333;
    margin: 15px 0;
}