/* =========================================================
   1. تنظیمات اولیه
========================================================= */
*, html, body {
    touch-action: manipulation;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;

    direction: rtl;

    font-family: "Estedad", Tahoma, Arial, sans-serif;

    background:
        linear-gradient(
            180deg,
            #f8f9fb 0%,
            #ffffff 35%
        );

    color: #202124;

    overflow-x: hidden;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

input,
textarea,
[contenteditable="true"] {
    -webkit-user-select: text;
    user-select: text;
}

button {
    border: 0;
    outline: none;
}

button:focus-visible {
    outline: 3px solid rgba(229, 28, 42, 0.18);
    outline-offset: 3px;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   2. برنامه
========================================================= */

#app {
    width: 100%;
    max-width: 500px;
    min-height: 100vh;

    margin: 0 auto;

    position: relative;

    background: #ffffff;

    overflow: visible;
}


/* =========================================================
   3. هدر
========================================================= */

.top-header {
    width: 100%;
    height: 68px;

    position: sticky;
    top: 0;

    z-index: 1000;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid rgba(230, 231, 234, 0.8);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.055);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    flex-wrap: nowrap;
}


/* =========================================================
   4. دکمه منو
========================================================= */

.profile-button {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #ed2635,
            #df0e20
        );

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(229, 28, 42, 0.23);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.profile-button span {
    display: block;

    width: 20px;
    height: 2.5px;

    border-radius: 10px;

    background: #ffffff;
}

.profile-button:hover {
    box-shadow:
        0 10px 24px rgba(229, 28, 42, 0.30);

    transform: translateY(-1px);
}

.profile-button:active {
    transform: scale(0.91);
}


/* =========================================================
   5. ورود / ثبت نام در هدر
========================================================= */

.auth-header {
    flex: 1;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-header-button {
    width: 100%;
    max-width: 255px;
    height: 42px;

    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e8e9ec;
    border-radius: 22px;

    background: #ffffff;

    color: #34363a;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.045);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.auth-header-button:hover {
    border-color: #f0b8bd;

    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.07);
}

.auth-header-button:active {
    transform: scale(0.97);
}


/* =========================================================
   6. دکمه پشتیبانی
========================================================= */

.header-support-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff4f5, #ffecef);
    color: #e51c2a;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(229, 28, 42, 0.11);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-support-button .support-icon {
    width: 24px;
    height: 24px;
    display: block;
    overflow: visible;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.22s ease;
}

.header-support-button:hover {
    background: linear-gradient(145deg, #ffecee, #ffe1e5);
    box-shadow: 0 9px 22px rgba(229, 28, 42, 0.17);
    transform: translateY(-1px);
}

.header-support-button:hover .support-icon {
    transform: scale(1.08);
}

.header-support-button:active {
    transform: scale(0.90);
}


/* =========================================================
   7. پنجره ورود / ثبت نام
========================================================= */

.auth-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(10, 11, 14, 0.45);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0s linear 0.3s;
}

.auth-modal.show {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transition:
        opacity 0.25s ease,
        visibility 0s linear 0s;
}


/* کادر داخل پنجره */

.auth-modal-box {
    position: relative;

    width: min(420px, 100%);

    padding: 30px 22px 24px;

    border-radius: 27px;

    background: #ffffff;

    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.21);

    transform:
        translateY(-35px)
        scale(0.92);

    opacity: 0;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        opacity 0.3s ease;
}

.auth-modal.show .auth-modal-box {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}


/* دکمه بستن */

.auth-close-button {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0f1;

    color: #e51c2a;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.auth-close-button:hover {
    background: #ffe1e4;

    transform: rotate(90deg);
}

.auth-close-button:active {
    transform: scale(0.9);
}


/* عنوان */

.auth-title {
    margin-top: 10px;
    margin-bottom: 9px;

    padding-right: 5px;

    color: #202124;

    font-size: 24px;
    font-weight: 900;

    line-height: 1.5;

    text-align: right;
}


/* توضیحات */

.auth-description {
    margin-bottom: 22px;

    padding-right: 5px;

    color: #777777;

    font-size: 13px;

    line-height: 1.9;

    text-align: right;
}


/* کادر شماره */

.auth-input-box {
    width: 100%;
    height: 56px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 15px;

    border: 1.5px solid #eeeeee;

    border-radius: 17px;

    background: #f8f9fa;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-input-box:focus-within {
    background: #ffffff;

    border-color: #e51c2a;

    box-shadow:
        0 0 0 4px rgba(229, 28, 42, 0.07);
}

.auth-input-icon {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
}

.auth-input-box input {
    flex: 1;

    width: 100%;
    height: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #222222;

    direction: rtl;
    text-align: right;

    font-family: inherit;
    font-size: 14px;
}

.auth-input-box input::placeholder {
    color: #999999;
}


/* دکمه ادامه */

.auth-continue-button {
    width: 100%;
    height: 52px;

    margin-top: 14px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #ed1c2c,
            #df0718
        );

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(229, 28, 42, 0.22);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.auth-continue-button:hover {
    box-shadow:
        0 12px 27px rgba(229, 28, 42, 0.28);

    transform: translateY(-1px);
}

.auth-continue-button:active {
    transform: scale(0.97);
}


/* پیام */

.auth-status {
    width: 100%;

    min-height: 20px;

    margin-top: 12px;

    color: #777777;

    font-size: 12px;

    text-align: center;
}


/* توضیح پایین */

.auth-note {
    margin-top: 14px;

    color: #999999;

    font-size: 10px;

    line-height: 1.8;

    text-align: center;
}


/* =========================================================
   8. محتوای اصلی
========================================================= */

.main-content {
    width: 100%;

    padding: 10px 16px 120px;
}


/* =========================================================
   9. اسلایدر تبلیغات
========================================================= */

.ad-slider {
    position: relative;

    width: calc(100% - 8px);
    height: 195px;

    margin: 14px auto 0;

    overflow: hidden;

    border-radius: 22px;

    background: #f1f2f4;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.ad-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    transform: translateX(25px);

    pointer-events: none;

    touch-action: pan-y;

    transition:
        opacity 0.75s ease-in-out,
        transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ad-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ad-slide.active {
    opacity: 1;

    transform: translateX(0);

    pointer-events: auto;
}

.ad-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.ad-dots {
    position: absolute;

    bottom: 13px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 20;

    display: flex;
    align-items: center;

    gap: 7px;
}

.ad-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.65);

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.ad-dot.active {
    width: 20px;

    border-radius: 10px;

    background: #ffffff;
}


/* =========================================================
   10. عنوان کاریابی
========================================================= */

.province-title-box {
    width: calc(100% - 40px);
    height: 58px;

    margin: 22px auto 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #ed0615 0%,
            #df0010 100%
        );

    box-shadow:
        0 10px 25px rgba(229, 6, 19, 0.18);
}

.province-title-box span {
    display: inline-block;

    color: #ffffff;

    font-family: "Estedad", Tahoma, Arial, sans-serif;

    font-size: 29px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: -2px;
}


/* =========================================================
   11. بخش کارت‌ها
========================================================= */

.user-type-section {
    width: calc(100% - 28px);

    margin: 0 auto 110px;

    display: flex;
    flex-direction: column;

    gap: 18px;
}

.user-type-section > a {
    width: 100%;
    display: block;
}


/* =========================================================
   12. کارت
========================================================= */

.user-type-card {
    position: relative;

    width: 100%;
    height: 92px;

    padding: 0 20px;

    overflow: hidden;

    border: 1px solid #eeeeee;
    border-radius: 19px;

    background: #ffffff;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.055);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.user-type-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            #ee1525,
            #df0717
        );
}

.user-type-card::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    left: -35px;
    top: -35px;

    border-radius: 50%;

    background: rgba(229, 28, 42, 0.035);

    pointer-events: none;
}

.user-type-card:hover {
    transform: translateY(-2px);

    border-color: #f0d5d8;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.075);
}

.user-type-card:active {
    transform: scale(0.985);
}


/* =========================================================
   13. محتوای کارت
========================================================= */

.user-type-content {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-type-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;

    min-width: 0;
}

.user-type-title {
    color: #222222;

    font-size: 20px;
    font-weight: 900;

    white-space: nowrap;
}

.user-type-description {
    color: #858585;

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* =========================================================
   14. آیکون کارت‌ها
========================================================= */

.card-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #fff8f8,
            #ffe9ec
        );

    border: 1px solid #ffd9dd;

    color: #e51b2b;

    box-shadow:
        0 6px 18px rgba(229, 27, 43, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.card-icon svg {
    width: 31px;
    height: 31px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.user-type-card:hover .card-icon {
    transform: scale(1.08);

    box-shadow:
        0 9px 24px rgba(50, 14, 21, 0.1411764705882353),
        inset 0 1px 0 rgb(255, 23, 23);
}


/* =========================================================
   15. بخش جستجو
========================================================= */

.search-section {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 25px;
}

.search-box {
    flex: 1;

    height: 54px;

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 17px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.05);
}

.search-box input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #333333;

    font-family: inherit;
    font-size: 13px;
}

.search-box input::placeholder {
    color: #9a9ca1;
}

.filter-button {
    min-width: 68px;
    height: 54px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2px;

    border-radius: 17px;

    background: #fff0f1;

    color: #df1828;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}

.filter-button span:first-child {
    font-size: 18px;
}


/* =========================================================
   16. عنوان لیست شغل‌ها
========================================================= */

.jobs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;

    padding: 0 3px;
}

.jobs-header h2 {
    margin-bottom: 5px;

    color: #202124;

    font-size: 20px;
    font-weight: 900;
}

.jobs-header p {
    color: #85888e;

    font-size: 12px;
}

.view-all-button {
    background: transparent;

    color: #df1828;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   17. لیست شغل‌ها
========================================================= */

.jobs-list {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   18. کارت شغل
========================================================= */

.job-card {
    width: 100%;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #eceef1;

    border-radius: 19px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.045);
}

.job-card-top {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 13px;
}

.job-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #f7f8fa;

    font-size: 25px;
}

.job-info {
    min-width: 0;

    flex: 1;
}

.job-info h3 {
    margin-bottom: 5px;

    color: #202124;

    font-size: 15px;
    font-weight: 900;
}

.job-info p {
    color: #777b82;

    font-size: 12px;
}


/* =========================================================
   19. جزئیات شغل
========================================================= */

.job-details {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 13px;
}

.job-details span {
    padding: 6px 9px;

    border-radius: 9px;

    background: #f6f7f9;

    color: #696d74;

    font-size: 10px;
}


/* =========================================================
   20. پایین کارت شغل
========================================================= */

.job-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 11px;

    border-top: 1px solid #f0f1f3;
}

.job-salary {
    color: #555a61;

    font-size: 11px;
    font-weight: 800;
}

.job-more-button {
    padding: 8px 15px;

    border-radius: 10px;

    background: #e91b2b;

    color: #ffffff;

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;
}


/* =========================================================
   21. دکمه شناور
========================================================= */

.add-job-button {
    position: fixed;

    left: 50%;
    bottom: 82px;

    transform: translateX(-50%);

    z-index: 20;

    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 20px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #ed1b2b,
            #df0718
        );

    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 9px 24px rgba(229, 28, 42, 0.28);
}

.add-icon {
    font-size: 21px;
    line-height: 1;
}


/* =========================================================
   22. نوار پایین
========================================================= */

.bottom-navigation {
    position: fixed;

    left: 50%;
    bottom: 0;

    transform: translateX(-50%);

    width: 100%;
    max-width: 500px;

    height: 70px;

    z-index: 15;

    display: flex;
    align-items: center;
    justify-content: space-around;

    padding: 5px 7px;

    background: rgba(255, 255, 255, 0.96);

    border-top: 1px solid #e7e8eb;

    box-shadow:
        0 -7px 24px rgba(0, 0, 0, 0.055);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-item {
    flex: 1;

    height: 60px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    background: transparent;

    color: #8b8e94;

    font-family: inherit;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.nav-icon {
    font-size: 20px;
    line-height: 1;
}

.nav-text {
    font-size: 10px;
}

.nav-item.active {
    color: #e51c2a;
}

.nav-item.active .nav-icon {
    transform: translateY(-1px);
}


/* =========================================================
   23. پنجره پشتیبانی
========================================================= */

.support-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 13, 16, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.25s ease, visibility 0s linear 0.4s;
}

.support-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.support-modal-content {
    position: relative;
    width: min(440px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px 22px 24px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.23);
    opacity: 0;
    clip-path: circle(18px at 35px 28px);
    transform: scale(0.96);
    transition: clip-path 0.55s cubic-bezier(.22, 1, .36, 1), opacity 0.18s ease, transform 0.55s cubic-bezier(.22, 1, .36, 1);
    scrollbar-width: thin;
    scrollbar-color: #dddddd transparent;
}

.support-modal.show .support-modal-content {
    opacity: 1;
    transform: scale(1);
    clip-path: circle(150% at 35px 28px);
}

.support-close-button {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff0f1;
    color: #e51c2a;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
}

.support-close-button:hover {
    background: #ffe1e4;
    transform: rotate(90deg);
}

.support-close-button:active {
    transform: scale(0.90);
}

.support-title {
    margin-top: 10px;
    margin-bottom: 9px;
    padding-right: 8px;
    color: #202124;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
    text-align: right;
}

.support-description {
    margin-bottom: 22px;
    padding-right: 8px;
    color: #777777;
    font-size: 13px;
    line-height: 1.8;
    text-align: right;
}

.support-input-box,
.support-message-box {
    width: 100%;
    border: 1.5px solid #eeeeee;
    border-radius: 17px;
    background: #f8f9fa;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.support-input-box {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 12px;
}

.support-message-box {
    padding: 12px 15px;
}

.support-input-box:focus-within,
.support-message-box:focus-within {
    background: #ffffff;
    border-color: #e51c2a;
    box-shadow: 0 0 0 4px rgba(229, 28, 42, 0.07);
}

.support-subject-input,
.support-message-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #222222;
    direction: rtl;
    text-align: right;
    font-family: inherit;
    font-size: 14px;
}

.support-subject-input {
    height: 100%;
}

.support-message-input {
    min-height: 145px;
    resize: vertical;
    line-height: 1.9;
}

.support-subject-input::placeholder,
.support-message-input::placeholder {
    color: #999999;
}

.support-send-button {
    width: 100%;
    min-height: 52px;
    margin-top: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ed1c2c, #df0718);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(229, 28, 42, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.support-send-button:hover {
    filter: brightness(0.97);
    box-shadow: 0 12px 27px rgba(229, 28, 42, 0.28);
    transform: translateY(-1px);
}

.support-send-button:active {
    transform: scale(0.97);
}

.support-status {
    width: 100%;
    min-height: 20px;
    margin-top: 14px;
    color: #777777;
    font-size: 12px;
    text-align: center;
}


/* =========================================================
   24. منوی کاربری
========================================================= */

/* =========================================================
   28. منوی کاربری
========================================================= */

.user-menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(10, 11, 14, 0.45);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0s linear 0.35s;
}

.user-menu-overlay.active {
    opacity: 1;

    visibility: visible;

    transition:
        opacity 0.3s ease,
        visibility 0s linear 0s;
}

.user-menu-box {
    width: min(430px, 100%);

    padding: 22px;

    border-radius: 28px;

    background: #ffffff;

    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.21);

    direction: rtl;

    transform:
        translateY(-45px)
        scale(0.88);

    opacity: 0;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        opacity 0.3s ease;
}

.user-menu-overlay.active .user-menu-box {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}

.user-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.user-menu-top h2 {
    color: #222222;

    font-size: 23px;
    font-weight: 900;
}

.user-menu-top p {
    margin-top: 6px;

    color: #999999;

    font-size: 12px;
}

.user-menu-close {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff1f2;

    color: #e51c2a;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.user-menu-close:hover {
    background: #ffe2e5;

    transform: rotate(90deg);
}

.user-menu-close:active {
    transform: scale(0.9);
}

.user-menu-items {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.user-menu-items button {
    width: 100%;
    min-height: 70px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 10px 14px;

    border-radius: 17px;

    background: #fafafa;

    direction: rtl;

    text-align: right;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.user-menu-items button:hover {
    background: #fff1f2;

    box-shadow:
        0 4px 12px rgba(229, 28, 42, 0.05);
}

.user-menu-items button:active {
    transform: scale(0.98);
}

.menu-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff0f2;

    font-size: 22px;
}

.menu-text {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.menu-text strong {
    color: #222222;

    font-size: 15px;
    font-weight: 800;
}

.menu-text small {
    color: #999999;

    font-size: 11px;
}

.menu-arrow {
    color: #cccccc;

    font-size: 25px;

    transform: rotate(180deg);
}


/* =========================================================
   29. حالت موبایل
========================================================= */

@media (max-width: 500px) {

    .top-header {
        padding-left: 9px;
        padding-right: 9px;

        gap: 6px;
    }

    .profile-button {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .auth-header-button {
        max-width: 100%;
        height: 40px;

        font-size: 15px;
    }

    .main-content {
        padding:
            8px
            12px
            115px;
    }

    .ad-slider {
        width: 100%;
        height: 190px;

        margin-top: 10px;

        border-radius: 20px;
    }

    .province-title-box {
        width: calc(100% - 24px);

        height: 56px;

        margin-top: 20px;
        margin-bottom: 24px;
    }

    .province-title-box span {
        font-size: 27px;
    }

    .user-type-section {
        width: calc(100% - 10px);

        gap: 15px;
    }

    .user-type-card {
        height: 88px;

        padding: 0 17px;
    }

    .user-type-title {
        font-size: 18px;
    }

    .user-type-description {
        font-size: 11px;
    }

    .card-icon {
        width: 58px;
        height: 58px;

        min-width: 58px;
    }

    .card-icon svg {
        width: 28px;
        height: 28px;
    }

    .auth-modal {
        padding: 12px;
    }

    .auth-modal-box {
        width: 100%;

        padding:
            28px
            17px
            20px;

        border-radius: 24px;
    }

    .auth-title {
        font-size: 21px;
    }

    .auth-description {
        font-size: 12px;
    }

    .auth-input-box input {
        font-size: 13px;
    }

    .auth-continue-button {
        height: 50px;

        font-size: 13px;
    }

    .support-modal {
        padding: 12px;
    }

    .support-modal-content {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 28px 17px 20px;
        border-radius: 24px;
    }

    .support-title {
        font-size: 21px;
    }

    .support-description {
        font-size: 12px;
    }

    .support-subject-input,
    .support-message-input {
        font-size: 13px;
    }

    .support-send-button {
        min-height: 50px;
        font-size: 13px;
    }

    .user-menu-overlay {
        padding: 12px;
    }

    .user-menu-box {
        padding: 18px;

        border-radius: 24px;
    }
}


/* =========================================================
   30. موبایل‌های کوچک
========================================================= */

@media (max-width: 380px) {

    .top-header {
        height: 64px;

        padding: 7px;
    }

    .profile-button {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

    .profile-button span {
        width: 18px;
    }

    .auth-header-button {
        height: 38px;

        font-size: 13px;
    }

    .main-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ad-slider {
        height: 175px;

        border-radius: 18px;
    }

    .province-title-box {
        height: 53px;

        width: calc(100% - 16px);

        border-radius: 15px;
    }

    .province-title-box span {
        font-size: 24px;
    }

    .user-type-section {
        width: 100%;

        gap: 13px;
    }

    .user-type-card {
        height: 84px;

        padding: 0 15px;

        border-radius: 17px;
    }

    .user-type-title {
        font-size: 17px;
    }

    .user-type-description {
        max-width: 220px;

        font-size: 10px;
    }

    .card-icon {
        width: 54px;
        height: 54px;

        min-width: 54px;
    }

    .card-icon svg {
        width: 26px;
        height: 26px;
    }

    .auth-modal {
        padding: 8px;
    }

    .auth-modal-box {
        padding:
            25px
            14px
            17px;

        border-radius: 21px;
    }

    .auth-title {
        font-size: 19px;
    }

    .auth-input-box {
        height: 52px;
    }

    .user-menu-box {
        padding: 15px;

        border-radius: 21px;
    }

    .user-menu-top h2 {
        font-size: 20px;
    }
}


/* =========================================================
   31. موبایل‌های خیلی کوچک
========================================================= */

@media (max-width: 340px) {

    .top-header {
        gap: 4px;
    }

    .auth-header-button {
        font-size: 11px;

        padding-left: 7px;
        padding-right: 7px;
    }

    .province-title-box span {
        font-size: 22px;
    }

    .user-type-title {
        font-size: 16px;
    }

    .user-type-description {
        max-width: 185px;

        font-size: 9.5px;
    }
}


/* =========================================================
   32. کاهش انیمیشن در صورت نیاز
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   احراز هویت آزمایشی — فقط پنجره ورود / ثبت نام
========================================================= */
.auth-step {
    display: none;
}

.auth-step.active {
    display: block;
}

.auth-register-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-register-fields .auth-input-box {
    height: 52px;
}

.auth-secondary-button {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    border-radius: 14px;
    background: #fff0f1;
    color: #df1828;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.auth-secondary-button[hidden] {
    display: none !important;
}

.auth-choice-button {
    margin-top: 12px;
    min-height: 54px;
    font-size: 16px;
}

.auth-choice-button + .auth-choice-button {
    margin-top: 10px;
}

.auth-demo-code {
    margin-top: 12px;
    color: #999;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.auth-status strong {
    font-size: 18px;
    letter-spacing: 3px;
}


/* === کاریاب: آیکون‌های اختصاصی منوی کاربری (SVG، بدون شکلک) === */
.user-menu-items > button .custom-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-menu-items > button .custom-menu-icon svg {
    width: 54px;
    height: 54px;
    display: block;
    overflow: visible;
}
.user-menu-items > button .custom-menu-icon svg * {
    vector-effect: non-scaling-stroke;
}
.ic-profile-head { fill: #fff; stroke: #e11d48; stroke-width: 3; }
.ic-profile-body { fill: none; stroke: #e11d48; stroke-width: 4; stroke-linecap: round; }
.ic-profile-glint { fill: none; stroke: #fda4af; stroke-width: 2.5; stroke-linecap: round; }
.ic-note-paper { fill: #fff; stroke: #e11d48; stroke-width: 2.5; stroke-linejoin: round; }
.ic-note-fold { fill: #ffe4e6; stroke: #e11d48; stroke-width: 2; stroke-linejoin: round; }
.ic-note-lines { fill: none; stroke: #fb7185; stroke-width: 2.5; stroke-linecap: round; }
.ic-note-pencil { fill: #fbbf24; stroke: #b45309; stroke-width: 1.5; stroke-linejoin: round; }
.ic-gear { fill: #fff; stroke: #e11d48; stroke-width: 2.5; stroke-linejoin: round; }
.ic-gear-hole { fill: #ffe4e6; stroke: #e11d48; stroke-width: 2.5; }
.ic-gear-center { fill: #fb7185; }
.ic-bookmark { fill: #e11d48; stroke: #be123c; stroke-width: 2; stroke-linejoin: round; }
.ic-bookmark-star { fill: #fff; stroke: #fecdd3; stroke-width: 1; stroke-linejoin: round; }
.ic-bell-body { fill: #fff; stroke: #e11d48; stroke-width: 2.5; stroke-linejoin: round; }
.ic-bell-base { fill: none; stroke: #e11d48; stroke-width: 3.5; stroke-linecap: round; }
.ic-bell-shine { fill: none; stroke: #fda4af; stroke-width: 2.5; stroke-linecap: round; }
.user-menu-items > button.user-menu-logout {
    width: 100%;
    border: 1px solid #fecdd3;
    border-right: 5px solid #e11d48;
    border-radius: 22px;
    background: linear-gradient(110deg, #fff1f2, #fffafa);
    color: #be123c;
    margin-top: 4px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.user-menu-items > button.user-menu-logout .menu-icon {
    background: #ffe4e6;
}
.user-menu-items > button.user-menu-logout .menu-text small {
    color: #be697e;
}
.user-menu-items > button.user-menu-logout:active {
    transform: scale(.985);
    box-shadow: inset 0 0 0 2px rgba(225,29,72,.12);
}
.ic-logout-door { fill: #fff; stroke: #be123c; stroke-width: 2.5; stroke-linejoin: round; }
.ic-logout-arrow { fill: #e11d48; }
.ic-logout-dot { fill: #fff; }

.ic-wallet-card { fill: #ffe4e6; stroke: #e11d48; stroke-width: 2.5; stroke-linejoin: round; }
.ic-wallet-body { fill: #fff; stroke: #e11d48; stroke-width: 2.5; stroke-linejoin: round; }
.ic-wallet-flap { fill: #ffe4e6; stroke: #e11d48; stroke-width: 2.5; stroke-linejoin: round; }
.ic-wallet-clasp { fill: #e11d48; }
.ic-wallet-glint { fill: none; stroke: #fda4af; stroke-width: 2.5; stroke-linecap: round; }

@media (max-width: 480px) {
    .user-menu-items > button .custom-menu-icon svg {
        width: 46px;
        height: 46px;
    }
}
/* =========================================================
   کاریاب — تنظیم نهایی اندازه تمام آیکون‌ها
   این بخش را انتهای style.css قرار بده
========================================================= */

/* آیکون‌های منوی کاربری */
.user-menu-items > button .custom-menu-icon svg {
    width: 40px;
    height: 40px;
}

/* کادر آیکون‌های منوی کاربری */
.user-menu-items > button .menu-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

/* آیکون کارت‌های صفحه اصلی */
.card-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
}

.card-icon svg {
    width: 25px;
    height: 25px;
}

/* آیکون پشتیبانی هدر */
.header-support-button .support-icon {
    width: 20px;
    height: 20px;
}

/* آیکون‌های بخش جستجو */
.search-input-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
}

/* آیکون شغل‌ها */
.job-icon {
    width: 48px;
    height: 48px;
    font-size: 21px;
}

/* آیکون نتایج جستجو */
.search-result-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    font-size: 18px;
}

/* فلش نتایج جستجو */
.search-result-arrow {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    font-size: 15px;
}

/* آیکون نوار پایین */
.nav-icon {
    font-size: 17px;
}

/* آیکون دکمه ثبت آگهی */
.add-icon {
    font-size: 18px;
}

/* آیکون فیلتر */
.filter-button span:first-child {
    font-size: 16px;
}

/* آیکون ورودی ورود و ثبت‌نام */
.auth-input-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    font-size: 17px;
}

/* آیکون خروج از حساب */
.user-menu-items > button.user-menu-logout .menu-icon svg {
    width: 36px;
    height: 36px;
}

/* =========================================================
   موبایل
========================================================= */

@media (max-width: 500px) {

    .user-menu-items > button .custom-menu-icon svg {
        width: 36px;
        height: 36px;
    }

    .user-menu-items > button .menu-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .card-icon svg {
        width: 23px;
        height: 23px;
    }

    .header-support-button .support-icon {
        width: 19px;
        height: 19px;
    }

    .nav-icon {
        font-size: 18px;
    }
}

/* موبایل‌های کوچک */

@media (max-width: 380px) {

    .user-menu-items > button .custom-menu-icon svg {
        width: 33px;
        height: 33px;
    }

    .card-icon {
        width: 47px;
        height: 47px;
        min-width: 47px;
    }

    .card-icon svg {
        width: 21px;
        height: 21px;
    }
}

/* =========================================================
   صفحات حساب کاربری — افزوده شده بدون تغییر ظاهر اصلی برنامه
========================================================= */
.account-page-body {
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 35%);
    color: #202124;
}

.account-page {
    width: min(100%, 500px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 14px 40px;
    box-sizing: border-box;
}

.account-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 2px 18px;
}

.account-page-header > div {
    flex: 1;
    text-align: right;
}

.account-page-header h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 900;
}

.account-page-header p {
    margin: 5px 0 0;
    color: #999;
    font-size: 13px;
}

.account-back-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #fff0f1;
    color: #e51c2a;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(229,28,42,.10);
}

.account-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.055);
}

.account-readonly-card {
    background: #fafafa;
}

.account-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f1f1f1;
}

.account-info-row:last-child {
    border-bottom: 0;
}

.account-info-row span {
    color: #888;
    font-size: 13px;
}

.account-info-row strong {
    font-size: 14px;
    color: #222;
    text-align: left;
}

.account-edit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

.account-edit-grid label {
    display: block;
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.account-edit-grid input {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #ececec;
    border-radius: 14px;
    outline: none;
    background: #f8f9fa;
    font: inherit;
    font-size: 13px;
    color: #222;
}

.account-edit-grid input:focus {
    background: #fff;
    border-color: #e51c2a;
    box-shadow: 0 0 0 4px rgba(229,28,42,.07);
}

.account-primary-button {
    width: 100%;
    min-height: 50px;
    border-radius: 15px;
    background: linear-gradient(135deg,#ed1c2c,#df0718);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(229,28,42,.18);
}

.account-status {
    min-height: 20px;
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
}

.account-status.success { color: #16803c; }
.account-status.error { color: #e51c2a; }

.account-hint,
.account-empty-text {
    margin: 13px 0 0;
    color: #999;
    font-size: 12px;
    line-height: 1.9;
    text-align: center;
}

.account-empty-title {
    color: #333;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

.ads-list,
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-ad-card,
.notification-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border-radius: 17px;
    background: #f8f8f8;
    border: 1px solid #f0f0f0;
}

.user-ad-main,
.notification-copy {
    flex: 1;
    min-width: 0;
}

.user-ad-main strong,
.notification-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
}

.user-ad-main small,
.notification-copy small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 11px;
}

.ad-status {
    flex: 0 0 auto;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
}

.ad-status.approved {
    background: #eaf8ef;
    color: #16803c;
}

.ad-status.pending {
    background: #fff5df;
    color: #9a6500;
}

.ad-status.rejected {
    background: #fff0f1;
    color: #e51c2a;
}

.settings-list {
    padding: 5px 16px;
}

.setting-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.setting-row:last-child {
    border-bottom: 0;
}

.setting-copy {
    flex: 1;
    text-align: right;
}

.setting-copy strong {
    display: block;
    font-size: 14px;
}

.setting-copy small {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 11px;
    line-height: 1.6;
}

.setting-switch {
    appearance: none;
    width: 48px;
    height: 28px;
    flex: 0 0 48px;
    border-radius: 20px;
    background: #ddd;
    position: relative;
    cursor: pointer;
    transition: background .2s ease;
}

.setting-switch::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 24px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    transition: right .2s ease;
}

.setting-switch:checked {
    background: #e51c2a;
}

.setting-switch:checked::after {
    right: 4px;
}

.wallet-coming-soon {
    text-align: center;
    padding: 38px 20px;
}

.wallet-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0f1;
    color: #e51c2a;
    font-size: 34px;
    font-weight: 500;
}

.wallet-coming-soon h2 {
    margin: 0;
    font-size: 21px;
}

.wallet-coming-soon p {
    margin: 8px 0 0;
    color: #999;
    font-size: 13px;
}

.notification-card {
    cursor: pointer;
    align-items: flex-start;
}

.notification-card.unread {
    background: #fff6f7;
    border-color: #ffd8dc;
}

.notification-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: transparent;
}

.notification-card.unread .notification-dot {
    background: #e51c2a;
}

.notification-copy p {
    margin: 7px 0 0;
    color: #555;
    font-size: 12px;
    line-height: 1.8;
}

.account-loading {
    padding-top: 45vh;
    text-align: center;
    color: #999;
    font-size: 13px;
}

@media (max-width: 380px) {
    .account-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .account-edit-grid {
        grid-template-columns: 1fr;
    }

    .account-page-header h1 {
        font-size: 22px;
    }
}

/* =========================================================
   مدیریت آگهی‌های کاربر
========================================================= */
.my-ads-dashboard {
    padding: 10px;
}

.my-ads-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.my-ads-stats > div {
    min-width: 0;
    padding: 11px 5px;
    border-radius: 14px;
    background: #f8f8f8;
    text-align: center;
}

.my-ads-stats strong {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: #222;
}

.my-ads-stats span {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 9px;
    font-weight: 700;
}

.user-ad-card {
    align-items: flex-start;
}

.user-ad-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 9px;
    color: #777;
    font-size: 10px;
    line-height: 1.8;
}

.user-ad-stats span {
    white-space: nowrap;
}

.user-ad-stats .ad-days {
    color: #a26d00;
    font-weight: 800;
}

.user-ad-stats .ad-days.near-expire {
    color: #d71920;
}

.user-ad-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.ad-edit-button,
.ad-delete-button {
    border: 0;
    border-radius: 9px;
    padding: 7px 11px;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.ad-edit-button {
    background: #eeeeee;
    color: #333;
}

.ad-delete-button {
    background: #fff0f1;
    color: #d71920;
}

.ad-admin-reason {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #fff7e5;
    color: #8b6200;
    font-size: 10px;
    line-height: 1.8;
}

@media (max-width: 430px) {
    .my-ads-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* دکمه تأیید آزمایشی آگهی */
.ad-approve-button {
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    background: #198754;
    color: #fff;
}
.ad-approve-button:active { transform: scale(.98); }


/* =========================================================
   استایل‌های کامل کیف پول در حساب کاربری
========================================================= */
.wallet-balance-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border: 1.5px solid #fed7d7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.06);
    margin-bottom: 16px;
}

.wallet-balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
}

.wallet-badge {
    background: #ecfdf5;
    color: #059669;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid #a7f3d0;
}

.wallet-balance-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 14px 0 10px;
}

.wallet-balance-amount strong {
    font-size: 32px;
    font-weight: 900;
    color: #ef4444;
    letter-spacing: -0.5px;
}

.wallet-balance-amount span {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
}

.wallet-balance-hint {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px dashed #fecaca;
    padding-top: 10px;
    margin-top: 6px;
}

.wallet-charge-card {
    margin-bottom: 16px;
}

.wallet-charge-card h3,
.wallet-history-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}

.wallet-section-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.wallet-quick-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.wallet-chip {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: center;
}

.wallet-chip:hover,
.wallet-chip:active {
    border-color: #ef4444;
    color: #ef4444;
    background: #fff1f2;
}

.wallet-input-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.wallet-input-wrap {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.wallet-input-wrap input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 38px 12px 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    text-align: center;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.2s ease;
}

.wallet-input-wrap input::placeholder {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.wallet-input-wrap input:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.wallet-clear-btn {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #f1f5f9;
    border: none;
    color: #64748b;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    line-height: 1;
}

.wallet-clear-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.wallet-input-row button.account-primary-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    margin: 0;
}

.wallet-history-card {
    margin-bottom: 24px;
}

.wallet-tx-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.wallet-tx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.wallet-tx-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-tx-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
    flex-shrink: 0;
}

.wallet-tx-icon.is-plus {
    background: #ecfdf5;
    color: #059669;
}

.wallet-tx-icon.is-minus {
    background: #fef2f2;
    color: #ef4444;
}

.wallet-tx-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}

.wallet-tx-date {
    font-size: 11px;
    color: #94a3b8;
}

.wallet-tx-amount {
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.tx-amount-plus {
    color: #059669;
}

.tx-amount-minus {
    color: #ef4444;
}

.wallet-empty-tx {
    text-align: center;
    padding: 30px 16px;
    color: #94a3b8;
    font-size: 13.5px;
    background: #f8fafc;
    border: 1.5px dashed #e2e8f0;
    border-radius: 14px;
}
