body {
    /* background: #ffffff; */
    font-family: 'Vazir';
}

    /*کانتینر بالا======================================================*/
.top_container {
    position:fixed;
    width: 100%;
    top: 60px;
    left: 0;
    box-sizing: border-box;
    background: var(--tab);
    border-bottom: 1px solid var(--tab-border);
    z-index: 10;
    margin: 0;
    padding: 10px 30px;
    border-radius: 0px;
}
    /* ردیف دکمه‌های اصلی ======================================================*/
.tab-row {
    display: flex;
    justify-content: center;
    margin: 0;
    gap: 20px;
}
.tab-btn {
    position: relative;
    width: 110px;
    padding: 5px;
    background: var(--btn-normal);
    color: var(--btn-normal-text);
    border:1px solid var(--btn-normal-border);
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Vazir' !important;
}
.tab-btn:hover {
    background: var(--btn-normal-hover);
}
.tab-btn:focus {
    background: var(--btn-bold);
    color: var(--btn-bold-text);
    border:2px solid var(--btn-bold-border);
}
.tab-btn.active {
    background: var(--btn-bold);
    color: var(--btn-bold-text);
    border:2px solid var(--btn-bold-border);
}
/*badge ======================================================*/
.badge {
    position: absolute;
    top: -15px;
    right: -8px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: linear-gradient(135deg, #ff416c, #ff2600);
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(255, 61, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 61, 0, 0); }
}
    /*کانتینر اصلی======================================================*/
.container {
    position: relative;
    width: 600px !important;
    margin: 110px auto 10px auto;
    box-sizing: border-box;
}
    /*عنوان======================================================*/
.title {          
    text-align: center;
    margin: 0px auto 5px auto;        /* top right bottom left */
    color: var(--header-text);
    font-size: 24px;
    font-weight: bold;
}
    /*خط======================================================*/
hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    margin: 10px 0 10px 0;
}
/* ####################################################### */
.card_box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    overflow: hidden;
}
.unread-room{
    border-top: 2px solid var(--card-unread);
    border-right: 7px solid var(--card-unread);
    border-left: 7px solid var(--card-unread);
    border-bottom: 2px solid var(--card-unread);
}
.read-room{
    opacity: 1;
}
/* ####################################################### */
.information-box {
    background: var(--card-bg);
    color: var(--card-text);
    border: 1px solid var(--card-border);
    padding: 10px; 
    margin: 5px;
    border-radius: 15px;
    cursor:pointer;
    overflow: hidden;
    text-decoration: none;
}
.information-title {
    font-weight: 600;
}
.information-box.unread {
    border-top: 2px solid var(--card-unread);
    border-right: 7px solid var(--card-unread);
    border-left: 7px solid var(--card-unread);
    border-bottom: 2px solid var(--card-unread);
}
.information-box.read {
    opacity: 1;
}
/* ####################################################### */
.rows {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
}
.label_ {
    width: 120px;
    flex-shrink: 0;
    color: var(--row-text);
    font-size: 14px;
    text-align: right;
    box-sizing: border-box;
}
.field_,
.container input,
.container select,
.container textarea {
    height: 50px !important;
    width: 100% !important;
    margin: 5px;
    padding: 0 15px;
    border-radius: 15px;
    font-size: 14px;
    outline: none;
    border: 1px solid var(--row-border) !important;
    box-sizing: border-box;
    text-align: right;
    direction: rtl !important;
    background: var(--row-bg);
    color: var(--row-text);
}
.field::placeholder {
    color: var(--row-placeholder);  /* رنگ کمرنگ برای placeholder */
    opacity: 1;       /* برخی مرورگرها پیش‌فرض opacity کمتر از 1 می‌دهند */
}
.container textarea {
    min-height: 100px !important;
    max-height: 200px !important;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    outline: none;
}
    /*محتوا و اطلاعات آگهی ========================================*/
.content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;    /* شکستن کلمات بلند */
    word-break: break-word;       /* شکستن کلمات (پشتیبانی بهتر) */
    hyphens: auto;                /* خط تیره برای کلمات انگلیسی */
    display: -webkit-box;         /* برای محدود کردن خطوط */
    -line-clamp: 2;               /* حداکثر ۲ خط */
    -webkit-box-orient: vertical;
    overflow: hidden;             /* متن اضافی مخفی */
    text-decoration:none;
}
    /*متن ها ========================================*/
.text_large {
    font-size: 18px;
    color: var(--card-text);
    margin: 0 0 0 5px;
}
.text_medium {
    font-size: 16px;
    color: var(--card-text);
    margin: 0 0 0 5px;
}
.text_normal {
    font-size: 14px;
    color: var(--card-text);
    margin: 0 0 0 5px;
}
.text_small {
    font-size: 12px;
    color: var(--card-text);
    margin: 0 0 0 5px;
}
.text_tiny {
    font-size: 11px;
    color: var(--card-text-soft);
    margin: 0 0 0 5px;
    text-decoration: none !important;
}
.text_deleted {
    background: var(--error-bg);
    color: var(--error-text);
    border-radius: 0px;
    font-size: 12px;
    padding: auto 5px;
    margin: 0 0 0 5px; 
} 
    /*دکمه‌های ویرایش و حذف ======================================================*/
.button_box {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content:center;
    gap: 15px;
}
    /*ایکن*/
.button_single {
    width: 150px !important;
    height: 40px !important;
    background: var(--btn-normal);
    color: var(--btn-normal-text);
    border: 1px solid var(--btn-normal-border);
    font-size: 16px;
    font-family: 'Vazir' !important;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* برای لینک */
    box-sizing: border-box;
}
.button_single:hover {
    background: var(--btn-normal-hover);
}
.button_single:disabled { 
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.button_single img {
    width: 28px !important;
    height: 28px !important;
    /* filter: brightness(0) invert(1); */
}

/* ************************************************************************ */
.info{
    min-height: 20px;
    height: auto;
    width: 98%;
    margin-top: 1px;
    padding: 3px;
    border-radius: 15px;
    font-size: 12px;
    box-sizing: border-box;
    text-align: center;
    direction: rtl !important;
    background: var(--info-bg);
    color: var(--info-text);  
    border: 1px solid var(--info-border); 
}
    /*پیام‌های toast======================================================*/
#toast-container {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
}
/* استایل عمومی برای هر پیام */
.toast-message {
    display: flex;
    justify-content: space-between;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    padding: 10px 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    position: relative;
}
/* استایل دکمه ضربدر */
.toast-close-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}
/* افکت هاور روی دکمه */
.toast-close-btn:hover {opacity: 1;}

.toast-success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }
.toast-info    { background: var(--info-bg);    color: var(--info-text);    border: 1px solid var(--info-border); }
.toast-error   { background: var(--error-bg);   color: var(--error-text);   border: 1px solid var(--error-border); }
    /*  پاپ اپ حذف ======================================================*/
#disableModal.logout-overlay,
#restoreModal.logout-overlay,
#permanentDeleteModal.logout-overlay,
#deleteModal.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    z-index: 9999;
}
    /* وقتی مودال فعال می‌شود */
#disableModal.active,
#restoreModal.active,
#permanentDeleteModal.active,
#deleteModal.active {
    opacity: 1;
    visibility: visible;
}
    /* جعبه مودال */
#disableModal .logout-popup,
#restoreModal .logout-popup,
#permanentDeleteModal .logout-popup,
#deleteModal .logout-popup {
    background: var(--header-bg);
    border: 1px solid var(--header-border);
    width: 320px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    animation: popupShow .25s ease-out;
}
    /* ردیف دکمه‌ها */
.btn-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
    
}
    /* دکمه لغو */
.cancel-btn {
    flex: 1;
    padding: 10px;
    background: var(--btn-normal);
    color: var(--btn-normal-text);
    border: 1px solid var(--btn-normal-border);
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Vazir' !important;
}
.cancel-btn:hover {
    background: var(--btn-normal-hover);
}
    /* دکمه حذف */
.delete-btn {
    flex: 1;
    padding: 10px;
    background: var(--btn-bold);
    color:var(--btn-bold-text);
    border: 1px solid var(--btn-bold-border);
    border-radius: 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Vazir' !important;
}
.delete-btn:hover {
    background: var(--btn-bold-hover);
}
@keyframes popupShow {
    from { transform: scale(0.8); opacity: 0; }
    to { transform:   scale(1);   opacity: 1; }
}

/* checkbox ======================================================*/
.custom_checkbox {
    display: flex;
    align-items: center; /* وسط‌چینی عمودی */
    justify-content: flex-start; /* می‌تونی center بزاری اگه بخوای کلش وسط چین بشه */
    gap: 20px; /* فاصله بین چک‌باکس و متن */
    margin: 0 125px 0 0;
    cursor: pointer;
}
.custom_checkbox input[type="checkbox"]{
    display: none;
}
.custom_checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 1px solid #64a091;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}
.custom_checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #64a091;
    border-color: #64a091;
}
.custom_checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 12px;
    border: 1px solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* unblocked user ======================================================*/
.user-card-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.unblock-btn {
    background: var(--btn-normal);
    color: var(--btn-normal-text);
    border: 1px solid var(--btn-normal-border);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Vazir';
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.unblock-btn:hover {
    background: var(--btn-normal-hover);
}
/* استایل تصویر پروفایل ======================================================*/
.profile-picture-wrapper {
    text-align: center;
    margin-bottom: 20px;
}
.profile-picture-box {
    position: relative;
    display: inline-block;
}
.profile-picture-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--row-border);
    margin-bottom: 10px;
    cursor: pointer;
}
.profile-picture-label {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--btn-normal);
    color: var(--btn-normal-text);
    border: 1px solid var(--btn-normal-border);
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.profile-picture-label:hover {
    background: var(--btn-normal-hover);
}
#profile_picture_input {
    display: none;
}
.profile-pic-remove {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    cursor: pointer;
    z-index: 2;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.profile-pic-remove::before,
.profile-pic-remove::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    background: var(--error-text);
}

.profile-pic-remove::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.profile-pic-remove::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.profile-pic-remove:hover {
    transform: scale(1.05);
}
/* تایید هوییت ======================================================*/
.identity-verified-row {
    display:flex;
    width: fit-content;
    align-items:center;
    justify-content:right;
    gap:2px;
    margin-bottom:10px;
    border-radius: 15px;
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}
.identity-verified-icon {
    width: 28px;
    height: 28px;
    margin-right: 1px;
}
.identity-verified-badge {
    display: inline-block;
    margin-right: 10px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
}

/* ===== استایل‌های پاپ‌آپ اسلایدی از پایین ===== */
.action-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.action-modal-overlay.active {
    display: flex;
}

.action-modal-content {
    background: var(--header-bg);
    border: 1px solid var(--header-border);
    border-radius: 15px;
    width: 300px;
    overflow: hidden;
    animation: popupShow 0.35s ease;
}
.action-modal-content img{
    width:30px;
    margin-left:10px;
}
[data-theme="dark"] .action-modal-content img {
    filter: invert(1) brightness(1.05);
}
.action-modal-content2 {
    background: var(--header-bg);
    border: 1px solid var(--header-border);
    width: 320px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    animation: popupShow .25s ease-out;
}
.action-item {
    display: flex;
    align-items: center;
    justify-content: right;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--header-text);
    border-bottom: 1px dotted var(--header-border);
    font-size: 15px;
    font-family: 'Vazir';
}
.action-item:last-child {
    border-bottom: none;
}
.action-item:hover {
    background: var(--header-item-hover);
}

/* user profile  ======================================================*/

/* کانتینر اصلی کارت پروفایل */
.profile-container {
    width: 600px;
    margin: 10px 10px;
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 15px;
    direction: rtl;
    font-family: inherit; /* استفاده از فونت اصلی سایت شما */
}

/* بخش هدر پروفایل */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 0px;
}

.profile-avatar-wrapper {
    flex-shrink: 0;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--header-border);
}

.profile-username-row{
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    margin: auto;
}
.profile-title-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-fullname {
    font-size: 20px;
    font-weight: 500;
    color: var(--header-text);
    margin: 0;
}

.profile-date-joined {
    font-size: 12px;
    color: var(--card-text-soft);
    margin-top: 5px;
}

/* ساختار بخش‌ها (Sections) */
.profile-section {
    margin: 0 0 5px 0;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--card-text-soft);
    margin-bottom: 12px;
    position: relative;
    padding-right: 12px;
}

/* بیوگرافی */
.profile-bio {
    font-size: 14px;
    line-height: 1.8;
    background: var(--row-bg);
    color: var(--row-text);
    border: 1px solid var(--row-border);
    padding: 10px 20px;
    border-radius: 15px;
    margin: 0;
}

/* گرید اطلاعات کاربری */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.info-item {
    background: var(--row-bg);
    border: 1px solid var(--row-border);
    padding: 12px 16px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-label {
    color: var(--card-text-soft);
    font-weight: 600;
    margin-left: 10px;
}

.info-value {
    color: var(--row-text);
    font-weight: 500;
    padding: 0 10px;
}

/* رنگ قرمز ملایم برای زمانی که موبایل مخفی است */
.info-value.value-hidden {
    color: var(--error-text);
    font-size: 12px;
    font-weight: 400;
}

/* دکمه‌های شبکه‌های اجتماعی */
.social-links-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.social-links-wrapper button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    line-height: 0;
}
.social-links-wrapper img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.ad-category{
    margin: 15px 0 15px 15px;
    font-size: 12px;
    color: var(--card-text-soft);
    padding: 2px;
}
/* my ads ======================================================== */
.reject_reason {
    background: var(--error-bg);
    color: var(--error-text);
    padding: 5px;
    display: inline-block;
    border-radius: 5px;
    font-size: 12px;
}
/* stat  ======================================================== */
.chart-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
}
.chart-container {
    width: 100%;
    padding: 10px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    height: 400px; 
    position: relative;
    box-sizing: border-box; 
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 0px;
}
.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}
.stat-label {
    font-size: 14px;
    color: var(--card-text);
    margin-bottom: 10px;
}
.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--card-text-soft);
    direction: rtl;
}
.max-view-card {
    margin-top: 15px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-sizing: border-box;
}
.max-view-date {
    font-size: 12px;
    color: var(--card-text-soft);
    margin-top: 5px;
}
.chart-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--card-text);
    margin-bottom: 15px;
}
/* tag ======================================================== */
.button_bookmark {
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    box-sizing: border-box;
}
.button_bookmark img {
    width: 28px !important;
    height: 28px !important;
}
[data-theme="dark"] .button_bookmark img {
    filter: invert(1) brightness(1.05);
}
/* pay ======================================================== */
.pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 10px 0;
}
.pay-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}
.pay-label {
    font-size: 14px;
    color: var(--card-text);
    margin-bottom: 10px;
}
.pay-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--card-text-soft);
    direction: rtl;
}
.pay-discount {
    background: var(--info-bg);
    color: var(--info-text);
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-block;
}
.pay-btn {
    display: block;
    width: 100px;
    background: var(--btn-normal);
    color: var(--btn-normal-text);
    border: 1px solid var(--btn-normal-hover);
    margin: 10px auto;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 16px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    font-family: 'Vazir';
}
.pay-btn:hover {
    background: var(--btn-normal-hover);
}
.pay-package-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 10px;
    margin: 5px;
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
}
.pay-package-box.selected {
    border: 2px solid var(--card-hover);
}
.pay-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 12px;
}
.pay-legend-text {
    color: var(--chart-text);
    display: flex;
    align-items: center;
    gap: 4px;
}
.pay-legend-bold {
    background: var(--chart-unused);
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}
.pay-legend-normal {
    background:var(--chart-used);
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}
.pay-chart-wrapper {
    position: relative;
    width: 100%;
    max-width: 260px;
    height: 240px;
    margin: 0 auto;
}
/* contact ======================================================== */
.contact_admin_reply{
    background: var(--card-bg);
    color: var(--card-text);
    border: 1px solid var(--card-border);
    padding:10px;
    margin-top:10px;
    border-radius:15px;
}
/* tariff ======================================================== */

/* detail ======================================================== */
.content_form {
    flex: 1;
    min-width: 0;
    text-align: center;
    justify-content: center;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    display: -webkit-box;
    -line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration:none;
}
.rows_detail {
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    width: 100%;
}
.rows_detail img{
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0;
}
[data-theme="dark"] .rows_detail img{
    filter: invert(1) brightness(1.05);
}
.label_detail {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--row-text);
    font-size: 16px;
    word-break: break-word;
    min-width: 0; 
}
/* تراز کردن محتوای ستون سمت راست به سمت چپ (مرکز کانتینر) در حالت RTL */
.rows_detail > .label_detail:first-of-type {
    justify-content: flex-end;
}
/* تراز کردن محتوای ستون سمت چپ به سمت راست (مرکز کانتینر) در حالت RTL */
.rows_detail > .label_detail:last-of-type {
    justify-content: flex-start;
}
.desc_single {
    background: transparent;
    border: 1px solid var(--card-border);
    padding:20px;
    border-radius:15px;
}
.content-metatag {
    flex: 1;
    min-width: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    overflow-wrap: break-word;    /* شکستن کلمات بلند */
    word-break: break-word;       /* شکستن کلمات (پشتیبانی بهتر) */
    hyphens: auto;                /* خط تیره برای کلمات انگلیسی */
    display: -webkit-box;         /* برای محدود کردن خطوط */
    -line-clamp: 2;               /* حداکثر ۲ خط */
    -webkit-box-orient: vertical;
    overflow: hidden;             /* متن اضافی مخفی */
    text-decoration:none;
}
.button_box_form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-right: 35px;
    gap: 20px;
    box-sizing: border-box;
    direction: rtl;
}
.button_single_large {
    width: 35% !important;
    height: 40px !important;
    border-radius: 15px !important;
    flex-shrink: 0;
}
.button_single_large img {
    width: 32px !important;
    height: 32px !important;
}
.more-options{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    padding: 0;
    background: transparent;
    flex-shrink: 0;
}
.more-options img {
    width: 80%;
    height: 80%;
    padding: 5px;
    object-fit: contain;
    border-radius: 15px;
    border: 1px solid var(--btn-normal-border);
}
[data-theme="dark"] .more-options img {
    filter: invert(1) brightness(1.05);
}
.report-textarea{
    display: none;
    width: 100%;
    min-height: 90px;
    margin-top: 12px;
    padding: 10px 12px;
    resize: vertical;
    border-radius: 8px;
    border: 1px solid var(--header-border);
    font-family: 'VAZIR';
    font-size: 14px;
    box-sizing: border-box;
    background: #fafafa;
    color: #000;
}
.report-options {
    direction: rtl;
    text-align: right;
}
.report-options label {
    display: block;
    margin-bottom: 4px; /* فاصله بین گزینه‌ها */
}
    /* ============================ MOBILE ============================ */
@media (max-width: 768px) {
    .top_container {
        width: 100% !important;
        
    }
    .container {
        /* margin: 95px auto 0px auto; */
        width: 100% !important;
    }
    .rows {
        grid-template-columns: 110px 1fr;
        width: 97% ;
        margin: auto;
    }
    .field_,
    .container input,
    .container select,
    .container textarea {
        margin: 5px 0 0 10px;
    }
    .tab-row {
        gap: 3px;
    }
    .tab-btn {
        width: 90px;
        font-size: 12px;
        margin: 0;
    }
    .info{
        width: 100%;
        /* border-radius: 0; */
    }
    .title {          
        font-size: 18px;
        font-weight:100;
    }
        /* کارت آگهی */
    .card_box {
        padding: 10px;
        margin: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--card-border);
        box-shadow: none !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    .card_box.unread-room {
        border-top: 2px solid var(--card-unread);
        border-right: 7px solid var(--card-unread);
        border-left: 7px solid var(--card-unread);
        border-bottom: 2px solid var(--card-unread);
        /* background: var(--bg-muted); */
    }
    /* .card_box:hover {
        transform: none !important;
    } */
    .information-box {
        padding: 10px;
        margin: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--card-border);
        box-shadow: none !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    .package-box {
        padding: 10px;
        margin: 1px auto 1px auto;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid var(--card-border) ;
        box-shadow: none !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .user-card-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .unblock-btn {
        width: 130px;
        margin: 0 auto;
    }

    .action-modal-overlay {
        /* top: 0; left: 0; right: 0; bottom: 0; */
        align-items: flex-end;
    }
    .action-modal-content {
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
        width: 100%;
        margin-bottom: 60px;
        animation: mobileSlideUp 0.35s ease;
    }
    .action-modal-content2 {
        width: 100%;
        margin-bottom: 60px;
        border-radius: 15px 15px 0 0;
        box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
        animation: mobileSlideUp .25s ease-out;
    }
    /* user profile ============================================================ */
    .profile-container {
        width: 100% !important;
        margin: 10px 0;
        border-radius: 0px;
        padding: 15px;
    }
    .profile-section {
        padding: 0 0 0 30px;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 0 0 0 30px;
    }
    /* بیوگرافی */
    .profile-bio {
        margin: 0;
        padding: 10px 10px;
        border-radius: 0;
    }
    .info-item {
        margin: 0;
        padding: 10px 10px;
        border-radius: 0px;
    }
    .profile-date-joined {
        text-align: center;
    }
    .info-grid {
        grid-template-columns: 1fr;
        margin: 0 0 0 0;
    }
    .info-item.full-width {
        grid-column: span 1;
    }
    .ad-category {
        padding: 2px 2px 1px 2px;
    }
    .desc_single{
        width: 100%;
        margin:0 !important;
        padding:10px;
        border-radius:0px;
        box-sizing: border-box;
    }
    .content-metatag{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 130px;      /* ارتفاع فوتر */
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0 5px;
        margin: 0;
    }
    .button_box_form {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 60px;
        width: 100%;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 0 5px;
        margin: 0;
        /* box-shadow:0 6px 25px rgba(0,0,0,.15); */
        /* border:1px solid #eee; */
        z-index: 999;
        box-sizing: border-box;
    }
    .more-options {
        position: fixed;
        left: 10px;
    }
}

@keyframes mobileSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
}





