
/* --- اضافه کردن @font-face برای فونت Pelak --- */
/* توجه: مطمئن شو فایل‌ها توی پوشه 'fonts' کنار این فایل هستن */
/* مثلاً: ./fonts/Pelak-Regular.woff2 */
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-Thin.woff2') format('woff2');
    font-weight: 100; /* یا 200 بسته به فونت */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pelak';
    src:
        url('./fonts/Pelak-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
/* ... (بخش فونت‌ها و سایر استایل‌های قبلی بدون تغییر) ... */

/* --- استایل جدید برای دکمه‌ها --- 

*/

/* ... (دیگر استایل‌های قبلی شما بدون تغییر) ... */

/* استایل مودال ورود */
.seebox-login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bg-panel.jpg') center/cover no-repeat fixed; /* بکگراند تصویری */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
}

.seebox-login-box {
    background: rgba(255, 255, 255, 0.9); /* کمی شفافیت برای افکت گلاس مورفیسم */
    backdrop-filter: blur(10px); /* افکت blur */
    border-radius: 20px;
    padding: 40px 30px;
    width: 90%;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2); /* بوردر سبک برای افکت گلاس */
}

.seebox-login-logo {
    height: 50px;
    margin: 0 auto 20px;
    display: block;
}

.seebox-login-title { /* اضافه شده */
    font-size: 24px;
    font-weight: 600;
    color: #0c0c0c;
    margin: 0 0 20px 0;
    text-align: center;
    font-family: inherit;
}

.seebox-login-input {
    font-size: 13px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    width: 100%;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background-color: rgba(255, 255, 255, 0.8); /* شفافیت پس‌زمینه ورودی */
}

.seebox-input-placeholder::placeholder { /* اعمال استایل برای placeholder */
    color: #aaa; /* رنگ placeholder */
}

.seebox-otp-instruction { /* استایل متن دستورالعمل OTP */
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 500;
}

.seebox-otp-input { /* استایل ورودی کد OTP */
    letter-spacing: 2px; /* فاصله بین کاراکترها */
    font-size: 18px; /* اندازه فونت بزرگتر */
    font-weight: bold; /* فونت ضخیم */
}

.seebox-otp-actions { /* استایل دکمه‌های ورود و تغییر شماره */
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.seebox-btn {
    font-size: 12px;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seebox-btn-seebox-btn-secondary-small {
    background-color: #f0f0f0;
    color: #0c0c0c;
    border: 1px solid #ddd;
}

.seebox-btn-seebox-btn-secondary-small:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
    transform: translateY(-1px);
}

.seebox-login-btn {
    flex: 1; /* دکمه ورود فضای بیشتری بگیرد */
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0c0c0c, #222);
    padding: 12px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.seebox-login-btn:hover {
    background: linear-gradient(135deg, #222, #0c0c0c);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.resend-otp-button-style {
    background-color: transparent; /* پس‌زمینه شفاف */
    color: #0073aa; /* رنگ لینک */
    border: none; /* بدون بوردر */
    padding: 0; /* بدون پدینگ */
    text-decoration: underline; /* خط زیرنویس */
    cursor: pointer;
    font-size: 13px; /* اندازه فونت */
    transition: color 0.2s ease; /* انیمیشن تغییر رنگ */
    font-family: inherit;
}

.resend-otp-button-style:hover:not(:disabled) {
    color: #005a87; /* رنگ لینک تیره‌تر هنگام هوور */
}

.resend-otp-button-style:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.seebox-notice {
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}

.seebox-notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.seebox-notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ... (دیگر استایل‌های بعدی شما بدون تغییر) ... */

/* دکمه اصلی (ورود، ارسال فرم، و غیره) */
.seebox-login-btn, .seebox-charge-form-container button {
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0c0c0c, #222); /* گرادیان سیاه */
    padding: 12px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-family: inherit;
    transition: all 0.3s ease; /* انیمیشن نرم */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* سایه سبک */
}

.seebox-login-btn:hover, .seebox-charge-form-container button:hover {
    background: linear-gradient(135deg, #222, #0c0c0c); /* معکوس گرادیان */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* سایه بیشتر هنگام هوور */
    transform: translateY(-1px); /* کمی بالا رفتن */
}

/* دکمه‌های کوچک درون باکس موجودی */
.seebox-balance-actions-inside button {
    font-size: 12px;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* سایه سبک */
}

.seebox-balance-actions-inside .seebox-btn-primary-small {
    background-color: #0c0c0c; /* پس‌زمینه سیاه */
    color: white;
}

.seebox-balance-actions-inside .seebox-btn-primary-small:hover {
    background-color: #222; /* تیره‌تر شدن */
    transform: translateY(-1px); /* کمی بالا رفتن */
}

.seebox-balance-actions-inside .seebox-btn-secondary-small {
    background-color: #f0f0f0; /* پس‌زمینه خاکستری سفید */
    color: #0c0c0c; /* متن سیاه */
    border: 1px solid #ddd; /* بوردر لایت */
}

.seebox-balance-actions-inside .seebox-btn-secondary-small:hover {
    background-color: #e0e0e0; /* تیره‌تر شدن */
    border-color: #ccc; /* بوردر تیره‌تر */
    transform: translateY(-1px); /* کمی بالا رفتن */
}

/* دکمه‌های ناوبری سایدبار */
.seebox-sidebar-nav a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    font-family: inherit;
    border-radius: 0 8px 8px 0; /* گوشه‌های گرد فقط سمت چپ */
}

.seebox-sidebar-nav a:hover {
    background-color: #f5f5f5;
    color: #0c0c0c;
    transform: translateX(3px); /* کمی به راست رفتن */
}

.seebox-sidebar-nav a.active {
    background-color: #0c0c0c; /* پس‌زمینه سیاه برای فعال */
    color: white; /* متن سفید */
    border-left-color: #0c0c0c;
}

/* دکمه‌های دیگر (اکشن، لینک) */
.cz_btn_30996 {
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0c0c0c, #222);
    padding: 12px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cz_btn_30996:hover {
    background: linear-gradient(135deg, #222, #0c0c0c);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.link-button {
    background: none;
    border: none;
    color: #0073aa;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
    font-family: inherit;
}

.link-button:hover {
    color: #005a87; /* تیره‌تر شدن رنگ لینک */
}

/* دکمه‌های اکشن کوچک */
.seebox-action-btn {
    background: #0c0c0c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    margin: 2px;
    font-size: 12px;
    white-space: nowrap;
    display: inline-block;
    font-family: inherit;
    transition: all 0.2s ease;
}

.seebox-action-btn:hover {
    background: #222;
    transform: translateY(-1px);
}

/* دکمه "تغییر شماره" */
.seebox-btn {
    font-size: 12px; /* اندازه فونت کوچکتر */
    padding: 8px 15px; /* پدینگ کمتر */
    border: none;
    border-radius: 8px; /* گوشه‌های کمتر گرد */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* سایه سبک */
}

.seebox-btn-seebox-btn-secondary-small { /* توجه: این کلاس دو بار تکرار شده بود، اینجا یکی اصلاح شد */
    background-color: #f0f0f0; /* پس‌زمینه خاکستری سفید */
    color: #0c0c0c; /* متن سیاه */
    border: 1px solid #ddd; /* بوردر لایت */
}

.seebox-btn-seebox-btn-secondary-small:hover {
    background-color: #e0e0e0; /* تیره‌تر شدن */
    border-color: #ccc; /* بوردر تیره‌تر */
    transform: translateY(-1px); /* کمی بالا رفتن */
}

/* دکمه "ارسال مجدد کد" */
.resend-otp-button-style { /* کلاس جدید اضافه شده */
    background-color: #f0f0f0; /* پس‌زمینه خاکستری سفید */
    color: #0c0c0c; /* متن سیاه */
    border: 1px solid #ddd; /* بوردر لایت */
    padding: 6px 12px; /* پدینگ کمتر */
    border-radius: 8px; /* گوشه‌های گرد */
    font-size: 12px; /* اندازه فونت کوچکتر */
    cursor: pointer;
    text-decoration: underline; /* خط زیرنویس */
    transition: all 0.2s ease; /* انیمیشن نرم */
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* سایه سبک */
}

.resend-otp-button-style:hover:not(:disabled) { /* هوور فقط اگر غیرفعال نباشد */
    background-color: #e0e0e0; /* تیره‌تر شدن */
    border-color: #ccc; /* بوردر تیره‌تر */
    color: #0c0c0c; /* رنگ متن ثابت */
    transform: translateY(-1px); /* کمی بالا رفتن */
}

.resend-otp-button-style:disabled { /* استایل هنگام غیرفعال بودن */
    opacity: 0.5;
    cursor: not-allowed;
    transform: none; /* بدون افکت بالا رفتن */
}
/* --- استایل کلی از پلاگین --- */
.seebox-main-container {
    max-width: 100%;
    width: 95%;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    font-family: 'Pelak', Tahoma, Geneva, Verdana, sans-serif; /* استفاده از فونت Pelak */
}

/* مودال */
.modal {
    position: fixed; inset:0;
    background: rgba(0,0,0,0.4);
    display:flex; justify-content:center; align-items:center;
    z-index:1000000;
}
.modal.hidden { display:none; }
.request-form-box {
    background:#fff; padding:30px; border-radius:16px;
    width:340px; text-align:center; box-shadow:0 12px 24px rgba(0,0,0,0.2);
}
.request-form-box input {
   font-size:13px; padding:15px; margin-bottom:15px;
    border:1px solid rgba(0,0,0,0.15); border-radius:24px; width:100%;
    font-family: inherit;
}
.close-btn-modal {
    background:none; border:none; color:#666; margin-top:10px;
    cursor:pointer; font-size:13px;  font-family: inherit;
}

/* دکمه‌های استایل شده */
.cz_btn_30996 { font-size:14px; color:#fff; background:#0c0c0c;
    padding:12px 40px; border:none; border-radius:10px; cursor:pointer;
    font-family: inherit;
}
.link-button {
    background:none; border:none; color:#0073aa; margin-top:15px;
    cursor:pointer; text-decoration:underline; font-size:13px;font-family:inherit;
}

/* دکمه‌های اکشن */
.seebox-action-btn {
    background: #0c0c0c; color: white; border: none; padding: 8px 15px; border-radius: 6px; cursor: pointer; margin: 2px;
    font-size: 12px;
    white-space: nowrap; /* جلوگیری از شکستن خط */
    display: inline-block;
    font-family: inherit;
}
.seebox-action-btn:hover {
    background: #222;
}

/* دکمه‌های ایکونی */
.seebox-icon-btn {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    margin: 0 3px;
    padding: 5px;
    border-radius: 4px;
}
.seebox-icon-btn:hover {
    background: #f0f0f0;
}
.edit-btn { color: #0073aa; }
.delete-btn { color: #dc3232; }

/* فرم‌های داخل پنل */
.seebox-form-container {
    background:#fff; border-radius:20px; padding:40px 30px;
    margin:20px 0; box-shadow:0 16px 32px rgba(0,0,0,0.15);
}
.seebox-form-container input, .seebox-form-container select {
    font-size:13px; padding:15px; margin-bottom:15px;
    border:1px solid rgba(0,0,0,0.15); border-radius:24px; width:100%;
    font-family: inherit;
}

/* جستجو */
.seebox-search-box {
    display: flex; gap: 10px; margin-bottom: 20px;
}
.seebox-search-box input {
    flex: 1;
    font-size:13px; padding:15px; border:1px solid rgba(0,0,0,0.15); border-radius:24px;
    font-family: inherit;
}

/* نوار اقدامات */
.seebox-action-bar {
    margin-bottom: 20px;
}

/* جدول‌های زیبا */
.seebox-table-container {
    background: white;
    border-radius: 10px;
    overflow-x: auto; /* اسکرول افقی اگر جدول بزرگ شد */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    width: 100%; /* فول عرض */
}

.seebox-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* اجازه تغییر عرض ستون‌ها */
    min-width: 800px; /* حداقل عرض جدول */
}
.seebox-table th, .seebox-table td {
    padding: 12px;
    text-align: left;
    white-space: nowrap; /* جلوگیری از شکستن خط */
}
.seebox-table th {
    background: #f1f1f1;
}

/* جلوگیری از شکستن دکمه‌ها در جدول */
#merchants-list td {
    white-space: nowrap;
}

/* بازنویسی table.fixed وردپرس */
.wp-list-table.fixed {
    table-layout: auto !important; /* اجازه تغییر عرض */
    width: 100% !important;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination a {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ccc;
    text-decoration: none;
}
.pagination a.current {
    background: #0073aa;
    color: white;
}

/* اصلاح مودال نمایش کلیدها */
#success-modal {
    position: fixed; inset:0;
    background: rgba(0,0,0,0.4);
    display:flex; justify-content:center; align-items=center;
    z-index:99999999 !important; /* اطمینان از نمایش بالاترین لایه */
}
#success-modal.hidden { display:none; }

/* --- پایان استایل کلی از پلاگین --- */


/* --- استایل‌های اضافی برای پنل مشتری --- */
body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    direction: rtl;
    min-height: 100vh;
    font-family: 'Pelak', Tahoma, Geneva, Verdana, sans-serif; /* استفاده از فونت Pelak */
}

.seebox-dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* سایدبار - سمت راست */
.seebox-sidebar {
    width: 280px;
    background-color: #ffffff;
    border-right: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
}

.seebox-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column; /* تغییر: ستونی کردن */
    align-items: center; /* تغییر: وسط قرار دادن */
    gap: 10px;
}

.seebox-sidebar-logo {
    height: 40px;
}

.seebox-sidebar-title {
    font-size: 18px;
    font-weight: 600; /* Pelak SemiBold */
    color: #0c0c0c;
    margin: 0;
    text-align: center; /* تغییر: متن به وسط */
}

.seebox-sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.seebox-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seebox-sidebar-nav li {
    margin: 0;
}

.seebox-sidebar-nav a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500; /* Pelak Medium */
    transition: all 0.2s ease;
    border-left: 3px solid transparent; /* برای نشان دادن فعال بودن */
    font-family: inherit;
}

.seebox-sidebar-nav a:hover {
    background-color: #f5f5f5;
    color: #0c0c0c;
}

.seebox-sidebar-nav a.active {
    background-color: #f0f0f0;
    color: #0c0c0c;
    border-left-color: #0c0c0c;
}

.seebox-sidebar-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
}

/* نوار بالایی (Header) */
.seebox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 280px; /* عرض سایدبار */
    z-index: 99; /* زیر سایدبار */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seebox-header-left {
    /* می‌تونید برای دکمه منو (اگر لازم بود) استایل اضافه کنید */
}

.seebox-header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* فاصله بین آیکون‌ها */
}

/* --- استایل جدید برای آیکون و منوی نوتیفیکیشن (اصلاح شده) --- */
.seebox-header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* فاصله بین آیکون‌ها */
}

.seebox-notification-icon-container {
    position: relative; /* مهم برای موقعیت‌یابی dropdown */
    display: inline-block;
}

.seebox-notification-btn {
    background: none;
    border: 2px solid #ccc; /* کادر مربع ساده */
    font-size: 18px; /* اندازه آیکون */
    cursor: pointer;
    padding: 5px; /* فضای کلیک */
    border-radius: 4px; /* گرد کردن کمی گوشه‌ها */
    transition: border-color 0.2s ease, background-color 0.2s ease;
    color: #666; /* رنگ خنثی */
    display: flex; /* برای مرکز قرار دادن آیکون */
    align-items: center;
    justify-content: center;
    width: 36px; /* عرض دکمه */
    height: 36px; /* ارتفاع دکمه */
}

.seebox-notification-btn:hover {
    border-color: #0c0c0c; /* تیره‌تر شدن بوردر */
    background-color: #f9f9f9; /* کمی رنگ پس‌زمینه در هوور */
    color: #0c0c0c; /* تیره‌تر شدن آیکون */
}

.seebox-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3232; /* قرمز برای نوتیفیکیشن‌های خوانده نشده */
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px; /* حداقل عرض برای عدد یک رقمی */
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- تغییر اصلی: استفاده از position: fixed و محاسبه موقعیت --- */
.seebox-notification-dropdown {
    position: fixed; /* تغییر: از absolute به fixed */
    /* محاسبه موقعیت: قرار گیری زیر دکمه */
    /* فرض بر اینه که متغیرهای x و y موقعیت دکمه نسبت به viewport هستن */
    /* این کار از طریق جاوا اسکریپت باید انجام بشه، اما می‌تونیم یه روش نسبی پایه بذاریم */
    /* اینجا موقعیت اولیه رو می‌ذاریم، و بعد با جاوا اسکریپت دینامیک تغییر می‌دیم */
    /* برای الان، فقط از right و top استفاده می‌کنیم، اما ممکنه بخوایم با left و top کار کنیم */
    /* right: 0; top: 100%; -> این کار می‌کرد اگر container overflow نداشت */
    /* حالا موقعیت نسبت به viewport محاسبه می‌شه */
    /* اینجا یه مقدار پیش‌فرض می‌ذاریم، و جاوا اسکریپت باید این مقدار رو دینامیک تغییر بده */
    /* برای اینکار، می‌تونیم یه کلاس اضافه کنیم وقتی نمایش داده میشه */
    /* اما راحت‌ترین راه، استفاده از position fixed و getBoundingClientRect در جاوا اسکریپت هست */
    /* کد جاوا اسکریپت باید اضافه بشه تا موقعیت دکمه رو بگیره و منو رو نسبت به اون قرار بده */
    /* پس کد زیر فقط استایل پایه‌ای هست، واقعاً موقعیت باید دینامیک باشه */
    /* برای همین، فقط z-index و بقیه استایل‌ها رو اینجا می‌ذاریم و position: fixed رو اعمال می‌کنیم */
    /* و موقعیت‌ها رو اولیه می‌ذاریم تا موقع نمایش، جاوا اسکریپت تغییر بده */
    /* تا وقتی جاوا اسکریپت این کار رو انجام نده، ممکنه منو تو گوشه صفحه ظاهر بشه */
    top: 10px; /* موقت */
    right: 10px; /* موقت */
    background-color: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 300px; /* عرض منو */
    max-height: 400px; /* حداکثر ارتفاع */
    overflow-y: auto; /* اسکرول عمودی اگر لیست زیاد بود */
    z-index: 1000001; /* بسیار بالاتر از دیگر المان‌ها، حتی sidebar و header */
    display: none; /* پیش‌فرض پنهان */
}

.seebox-notification-dropdown.show { /* کلاس جدید برای نمایش */
    display: block; /* نمایش وقتی کلاس show داره */
    /* موقعیت دینامیک باید اینجا اعمال بشه، یا مستقیماً از جاوا اسکریپت */
    /* مثلاً top و right باید از جاوا اسکریپت ست بشه */
}

.seebox-notification-title {
    padding: 15px;
    margin: 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    border-top-left-radius: 8px; /* گرد کردن گوشه بالا چپ */
    border-top-right-radius: 8px; /* گرد کردن گوشه بالا راست */
    font-size: 16px;
    font-weight: 600;
    color: #0c0c0c;
    text-align: center; /* مرکز کردن عنوان */
}

.seebox-notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seebox-notification-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    color: #555;
}

.seebox-notification-item:last-child {
    border-bottom: none; /* حذف خط آخر */
}

.seebox-notification-info {
    border-right: 3px solid #007bff; /* آبی */
}

.seebox-notification-warning {
    border-right: 3px solid #ffc107; /* زرد */
}

.seebox-notification-error {
    border-right: 3px solid #dc3232; /* قرمز */
}

.seebox-notification-success {
    border-right: 3px solid #28a745; /* سبز */
}

.seebox-notification-unread {
    background-color: #f0f8ff; /* رنگ پس‌زمینه برای خوانده نشده */
    font-weight: 500;
}

.seebox-notification-read {
    background-color: #fff;
    color: #777;
}

.seebox-notification-message {
    flex: 1; /* متن پیام فضای بیشتری بگیرد */
    word-wrap: break-word; /* شکستن کلمات بلند */
    margin-right: 10px; /* فاصله از زمان و دکمه */
}

.seebox-notification-time {
    font-size: 12px;
    color: #999;
    white-space: nowrap; /* جلوگیری از شکستن زمان */
    margin-right: 10px; /* فاصله از دکمه */
}

.seebox-mark-read-btn {
    background: none;
    border: 1px solid #ddd;
    color: #666;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
    align-self: flex-start; /* قرار گیری در بالای خط */
}

.seebox-mark-read-btn:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
    color: #333;
}

.seebox-notification-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
    border-bottom: none; /* بدون خط زیر */
}

/* محتوای اصلی */
.seebox-main-content {
    flex: 1;
    margin-right: 280px; /* برای جبران عرض سایدبار ثابت */
    padding: 20px;
    padding-top: 80px; /* فضایی برای header ثابت */
}

/* کارت‌ها */
.seebox-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* سایه سبک */
}

.seebox-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.seebox-card-title {
    font-size: 18px;
    font-weight: 600; /* Pelak SemiBold */
    color: #0c0c0c;
    margin: 0;
}

/* --- استایل جدید برای بخش API Credentials --- */
.seebox-api-credentials-content {
    /* می‌تونید از استایل‌های مشابه seebox-merchant-info-box استفاده کنید یا جدید تعریف کنید */
}

.seebox-api-label {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500; /* Pelak Medium */
}

.seebox-api-value-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.seebox-api-value {
    flex: 1;
    font-size: 14px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    word-break: break-all; /* شکستن طولانی‌ترین کلمات */
    font-family: monospace; /* فونت مونو اسپیس برای کلیدها */
}

.seebox-toggle-secret-btn, .seebox-copy-btn {
    background-color: #0c0c0c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.seebox-toggle-secret-btn:hover, .seebox-copy-btn:hover {
    background-color: #222;
}

/* موجودی و اطلاعات فروشگاه */
.seebox-balance-display {
    font-size: 28px; /* کمی بزرگتر */
    font-weight: 700; /* Pelak Bold (اگر موجود باشد) یا SemiBold */
    color: #0c0c0c;
    margin: 10px 0;
}

.seebox-merchant-info p {
    margin: 8px 0;
    font-size: 15px;
    color: #555;
}

.seebox-merchant-info strong {
    color: #0c0c0c;
}

/* صفحه ورود - استایل شده با کلاس‌های موجود */
/*.seebox-login-container {*/
/*    position: fixed;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
    /*background: rgba(0, 0, 0, 0.5); /* پس‌زمینه مات */
    /*backdrop-filter: blur(5px); /* افکت blur */
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    z-index: 1000000;*/
/*}*/

.seebox-login-box {
    background: #fff;
    border-radius: 16px; /* از request-form-box گرفته شد */
    padding: 30px;
    width: 90%; /* تغییر: عرض 90% */
    max-width: 340px; /* از request-form-box گرفته شد */
    text-align: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2); /* از request-form-box گرفته شد */
}

.seebox-login-logo {
    height: 50px; /* یا هر ارتفاع دلخواه */
    margin: 0 auto 20px; /* مرکز کردن و فاصله پایین */
    display: block;
}

.seebox-login-label {
    display: block;
    text-align: right;
    font-size: 13px; /* مطابق با input */
    color: #333;
    margin-bottom: 5px;
    font-weight: 500; /* Pelak Medium */
}

.seebox-login-input {
    font-size:13px; padding:15px; margin-bottom:15px;
    border:1px solid rgba(0,0,0,0.15); border-radius:24px; width:90%; /* تغییر: عرض 90% */
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.seebox-login-input:focus {
    outline: none;
    border-color: #0c0c0c; /* رنگ border فعال */
    box-shadow: 0 0 0 2px rgba(12, 12, 12, 0.1); /* هال حوله */
}

.seebox-login-btn {
    font-size:14px; color:#fff; background:#0c0c0c;
    padding:12px 40px; border:none; border-radius:10px; cursor:pointer;
    width: 100%;
    margin-top: 10px; /* فاصله بالا */
    font-family: inherit;
}

.seebox-login-btn:hover {
    background: #222;
}

.seebox-notice {
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}

.seebox-notice.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.seebox-notice.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* صفحه شارژ - استایل شده با کلاس‌های موجود */
.seebox-charge-card {
    background:#fff;
    border-radius:20px;
    padding:40px 30px;
    margin:20px auto; /* مرکز کردن */
    box-shadow:0 16px 32px rgba(0,0,0,0.15);
    max-width: 600px; /* عرض کمتر برای صفحه شارژ */
}

.seebox-charge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.seebox-charge-card-title {
    font-size: 18px;
    font-weight: 600; /* Pelak SemiBold */
    color: #0c0c0c;
    margin: 0;
}

.seebox-charge-form-container {
     /* استفاده از استایل‌های موجود برای فرم */
}

.seebox-charge-form-container label {
    display: block;
    text-align: right;
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500; /* Pelak Medium */
}

.seebox-charge-form-container input {
    font-size:13px; padding:15px; margin-bottom:15px;
    border:1px solid rgba(0,0,0,0.15); border-radius:24px; width:95%; /* تغییر: عرض 95% */
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.seebox-charge-form-container input:focus {
    outline: none;
    border-color: #0c0c0c;
    box-shadow: 0 0 0 2px rgba(12, 12, 12, 0.1);
}

.seebox-charge-form-container button {
    font-size:14px; color:#fff; background:#0c0c0c;
    padding:12px 40px; border:none; border-radius:10px; cursor:pointer;
    margin-top: 10px; /* فاصله بالا */
    font-family: inherit;
}

.seebox-charge-form-container button:hover {
    background: #222;
}

/* --- استایل جدید برای بخش اطلاعات فروشگاه و موجودی (ردیف دو ستونه) --- */
.seebox-merchant-balance-row {
    display: flex;
    flex-wrap: wrap; /* اجازه رفتن به خط بعد در صفحات کوچک */
    gap: 20px; /* فاصله بین ستون‌ها */
    margin-bottom: 20px;
}

.seebox-merchant-info-column,
.seebox-balance-column {
    flex: 1; /* هر ستون فضای برابری می‌گیرد */
    min-width: 250px; /* حداقل عرض برای هر ستون */
}

.seebox-merchant-info-box,
.seebox-balance-box {
    background-color: #fafafa;
    border-radius: 10px;
    padding: 20px;
}

.seebox-merchant-info-box h4,
.seebox-balance-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0c0c0c;
    margin: 0 0 10px 0;
}

.seebox-balance-value {
    font-size: 28px;
    font-weight: 700;
    color: #0c0c0c;
    margin: 10px 0;
    text-align: center; /* متن به وسط */
}

/* استایل جدید برای دکمه‌ها داخل باکس موجودی */
.seebox-balance-actions-inside {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.seebox-balance-actions-inside button {
    font-size: 12px; /* اندازه فونت کوچکتر */
    padding: 8px 15px; /* پدینگ کمتر */
    border: none;
    border-radius: 8px; /* گوشه‌های کمتر گرد */
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.seebox-balance-actions-inside .seebox-btn-primary-small {
    background-color: #0c0c0c;
    color: white;
}

.seebox-balance-actions-inside .seebox-btn-primary-small:hover {
    background-color: #222;
}

.seebox-balance-actions-inside .seebox-btn-secondary-small {
    background-color: #f0f0f0;
    color: #0c0c0c;
}

.seebox-balance-actions-inside .seebox-btn-secondary-small:hover {
    background-color: #e0e0e0;
}

/* --- استایل سفارشی برای دراپ‌دان شارژ --- */
.seebox-custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.seebox-custom-select-wrapper::after {
    content: "▼";
    font-size: 12px;
    color: #0c0c0c;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    pointer-events: none; /* اجازه کلیک روی فلش نده */
}

.seebox-custom-select {
    appearance: none; /* حذف استایل پیش‌فرض مرورگر */
    width: 100%;
    padding: 12px 45px 12px 15px; /* راست: فاصله از متن، چپ: فاصله از فلش */
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease;
    font-family: inherit; /* استفاده از فونت اصلی */
}

.seebox-custom-select:focus {
    outline: none;
    border-color: #0c0c0c;
    box-shadow: 0 0 0 2px rgba(12, 12, 12, 0.1);
}

.seebox-custom-select option {
    font-family: inherit; /* فونت گزینه‌ها */
}

/* استایل پیجینیشن */
.seebox-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.seebox-pagination-info {
    margin: 0 1rem;
    font-size: 0.9rem;
    color: #666;
}

 
.seebox-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
