/* تنظیمات بدنه و کانتینر اصلی */
.risheh-v4-container {
    direction: rtl !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}

.risheh-v4-layout {
    display: flex !important;
    flex-direction: row !important; /* سایدبار راست، محتوا چپ */
    gap: 30px !important;
    align-items: flex-start !important;
}

/* سایدبار تیره مشابه تصویر */
.risheh-v4-sidebar {
    flex: 0 0 500px !important;
    max-width: 500px !important;
}

.sidebar-card {
    background: #23282d !important;
    border-radius: 20px !important;
    padding: 25px 0 !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.sidebar-user-info {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.sidebar-avatar img {
    border-radius: 50%;
    border: 3px solid #8b8e4e;
    width: 85px;
    height: 85px;
    margin-bottom: 10px;
}

.badge {
    background: #8b8e4e;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 15px;
}

.menu-item {
    display: block !important;
    padding: 14px 25px !important;
    color: #ccc !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: 0.3s !important;
    border-right: 4px solid transparent !important;
}

.menu-item:hover, .menu-item.active {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    border-right-color: #8b8e4e !important;
}

/* محتوا */
.risheh-v4-main-content {
    flex: 1 !important;
    background: #fff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05) !important;
    min-height: 500px !important;
}

/* کارت‌های آماری */
.risheh-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 25px 0 !important;
}

.stat-item {
    padding: 20px !important;
    border-radius: 15px !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.stat-item.orange { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.stat-item.purple { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.stat-item.green { background: linear-gradient(135deg, #84fbb1 0%, #10b981 100%); }

/* دکمه‌ها */
/* بزرگتر کردن دکمه های فرم */
.risheh-auth-v4 .v4-btn {
    height: 105px !important; /* ارتفاع دکمه */
    font-size: 18px !important; /* سایز فونت داخل دکمه */
    font-weight: bold !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none !important;
    background-color: #8b8e4e !important; /* رنگ سبز برند شما */
    color: white !important;
}

/* افکت تغییر رنگ هنگام نگه داشتن موس */
.risheh-auth-v4 .v4-btn:hover {
    background-color: #7a7d42 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* مخفی کردن المان‌های مزاحم ووکامرس */
.woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-MyAccount-content { width: 100% !important; float: none !important; }

@media (max-width: 992px) {
    .risheh-v4-layout { flex-direction: column-reverse !important; }
    .risheh-v4-sidebar { flex: 0 0 100% !important; max-width: 100% !important; }
    .risheh-stats-grid { grid-template-columns: 1fr !important; }
}
/* پنهان کردن محتوای غیرفعال */
.t-content {
    display: none !important;
}

/* نمایش محتوای فعال به صورت ستونی و مرتب */
.t-content.active {
    display: block !important;
}

/* تنظیم عرض کادر برای اینکه خیلی کشیده نشود */
.risheh-auth-v4 {
    max-width: 450px; /* عرض فرم را محدود می‌کند تا زیباتر شود */
    margin: 50px auto;
    direction: rtl;
}

/* استایل ورودی‌ها برای نظم بیشتر */
.risheh-auth-v4 input {
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 5px !important;
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
}


@media (max-width: 768px){
  .risheh-v4-sidebar{
    width: 500px !important;
    flex: 0 0 500px !important;
    max-width: 100% !important;
  }
}
  

