@font-face {
    font-family: IRANSans;
    src: url("../fonts/iransans/IRANSansWeb.eot");
    src:
            url("../fonts/iransans/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
            url("../fonts/iransans/IRANSansWeb.ttf") format("truetype"),
            url("../fonts/iransans/IRANSansWeb.woff") format("woff"),
            url("../fonts/iransans/IRANSansWeb.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #9aa4b2;
    --accent: #2596db;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-2: rgba(255, 255, 255, 0.02);
    font-family: IRANSans;
    direction: rtl;
    text-align: right;
    text-decoration: none;
}

a{
    text-decoration: none;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: linear-gradient(180deg, #071227 0%, #081226 60%);
    color: #e6eef6;
    min-height: 100vh;
    font-family: IRANSans;
}
h4{
    margin-top: 0;
}

.container {
    max-width: 1280px;
    margin: 36px auto;
    padding: 20px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-direction: row;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-direction: row;
}

.text-logo div{
    text-align: right;
}

.brand>div:last-child>div {
    font-weight: 700
}

.brand>div:last-child>div:last-child {
    font-size: 12px;
    color: var(--muted)
}

.logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0ea5a9, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

.logo img{
    width: 46px;
    height: 46px;
    border-radius: 5px;
}

.desktop-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-direction: row;
}

a.btn {
    background: transparent;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--accent);
    text-decoration: none
}

a.btn:hover {
    color: #0a53be;
}

.--blog-title h1{
    font-size: 24px;
    padding-right: 6px;
    margin-bottom: 14px;
}

@media (max-width:768px) {
    .--blog-title h1{
        font-size: 17px;
        padding-right: 6px;
        margin-bottom: 14px;
    }
}

a.primary {
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}



/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    padding: 8px
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: 0.3s
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.8));
    padding: 80px 20px 20px;
    transition: 0.3s;
    z-index: 1000
}

.mobile-nav.open {
    right: 0
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.mobile-nav a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--glass);
    color: var(--accent);
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.btn-nav-mobile{
    background:linear-gradient(90deg,#06b6d4,#7c3aed) !important;
    color:#fff !important;
    margin-top:12px !important;
    padding: 6px !important;

}


/* Close button for mobile menu */
.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    font-weight: 700;
    line-height: 1
}

.grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px
}
.grid-support {
    display: grid;
    grid-template-columns: 1fr 840px;
    gap: 20px
}

.card {
    background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.6));
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6)
}

.post-card{
    background: linear-gradient(180deg, var(--card), rgb(17 25 42 / 60%));
}

.alert-info{
    text-align: center;
    margin-top: 20px;
    background: #121928;
    padding: 10px;
    font-size: 14px;
    border-radius: 9px;
    color: #0ea6e1;
}


.hero {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.hero h1 {
    margin: 0;
    font-size: 20px
}

.hero p {
    margin: 0;
    color: var(--muted)
}

.search {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap
}

.input,
select {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
    color: inherit;
    flex: 1;
    min-width: 120px;
    font-size: 15px;
    font-family: IRANSans;
    font-weight: 600;
}

.search option{
    background-color: #18202f;
    font-size: 15px;
    font-family: IRANSans;
    font-weight: 600;
}
option{
    background-color: #18202f;
    font-size: 15px;
    font-family: IRANSans;
    font-weight: 600;
}

button.searchBtn {
    padding: 12px 14px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #022;
    cursor: pointer;
    flex-shrink: 0
}

.features {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
    line-height: 35px;
}

.feature {
    padding: 10px;
    border-radius: 10px;
    background: var(--glass-2);
    flex: 1;
    text-align: center;
    min-width: 100px
}

.feature small {
    display: block;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.numbers-list {
    display: grid;
    gap: 10px
}

.number-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    flex-wrap: wrap;
    gap: 10px;
    direction: rtl;
}

.number-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    flex-wrap: wrap;
    gap: 10px;
    direction: rtl;
}


.meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1
}

.flag {
    width: 38px;
    height: 26px;
    border-radius: 6px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600
}

.number-row button{
    font-weight: 600;
    font-family: 'IRANSans';
    padding: 3px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.number-field button{
    font-weight: 600;
    font-family: 'IRANSans';
    padding: 3px 12px;
    font-size: 13px;
    border-radius: 6px;
}

.primary:hover{
    background-color: #cdcdcd;
    color: #050505;
    box-shadow: none;
}

.flag img{
    width: 38px;
    height: 27px;
    object-fit: cover;
    border-radius: 4px;
}

.badge {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2)
}

.pricing {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap
}

.price-card {
    flex: 1;
    padding: 14px 14px 0 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #071726 0, #08122a 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    min-width: 200px;
    font-weight: 600;
}

.price-card-dis{
    font-size:13px;
    color:var(--muted);
    margin-top:6px;
    line-height: 30px;
}

.price {
    font-weight: 700;
    font-size: 20px
}

/* sidebar */
.sidebar .small {
    font-size: 13px;
    color: var(--muted)
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: var(--glass);
    margin-bottom: 10px
}

/* Purchase form in sidebar */
.purchase-form {
    display: none
}

.purchase-form.active {
    display: block
}

.purchase-form h3 {
    margin-top: 0
}

.purchase-form p {
    color: var(--muted)
}

.purchase-number {
    padding: 10px;
    border-radius: 8px;
    background: var(--glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px
}

.purchase-selects {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap
}

.purchase-selects select {
    flex: 1;
    min-width: 120px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 8px;
    color: inherit
}

.purchase-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px
}
.actions button{

    padding: 8px;
    border-radius: 7px;
    border: none;
    font-family: 'IRANSans';
    font-weight: 600;
    margin-top: 30px;
}

.purchase-actions .btn {
    flex: 1
}

footer {
    text-align: center;
    color: var(--muted);
    margin-top: 50px;
    border-top: 1px solid rgba(154, 164, 178, 0.37);
    padding-top: 30px;
}

.card h3 {
    margin-top: 0
}

.card ol {
    color: var(--muted);
    padding-right: 18px
}

.card ul {
    margin-top: 10px;
    color: var(--muted);
    padding-right: 18px;
    font-size: 14px;
    line-height: 32px;
}

.---title-cart{
    margin-top: 8px;
    font-size: 13px;
    line-height: 30px;
    font-weight: 600;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.6));
    margin: 10% auto;
    padding: 20px;
    border-radius: 14px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    direction: rtl;
}

.close {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

.close:hover {
    color: var(--accent);
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: var(--glass);
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    font-family: 'IRANSans';
    font-weight: 700;
}

.tab-btn.active {
    background: var(--accent);
    color: #022;
    font-family: 'IRANSans';
    font-weight: 700;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tab-content input {
    padding: 12px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: inherit;
    font-size: 14px;
    font-family: 'IRANSans';

}

.tab-content input::placeholder {
    color: var(--muted);
}

.tab-content button[type="submit"] {
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'IRANSans';
    margin-top: 10px;
    width: 100%;
    font-size: 14px;
}

.mobile-login{
    margin-bottom: 20px;
}

.tab-content button[type="submit"]:hover {
    transform: translateY(-1px);
}

/* responsive */
@media (max-width:980px) {
    .container {
        padding: 10px;
        margin: 20px auto
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .sidebar {
        order: 2
    }

    section {
        order: 1
    }

    .hero h1 {
        font-size: 20px
    }

    .pricing {
        justify-content: center
    }

    .price-card {
        min-width: 150px
    }
}
.balance-head{
    display: flex;
    align-items: center;
}

.text-diposit{
    display: none;
}

.btn-login{
    display: none;
}


@media (max-width:768px) {
    .text-diposit{
        display: flex;
        align-items: center;
    }
    .btn-login{
        display: flex;
    }
}

@media (max-width:768px) {
    .hamburger {
        display: flex
    }

    .desktop-nav {
        display: none
    }

    .search {
        flex-direction: column
    }

    .input,
    select {
        min-width: auto;
        flex: 1
    }

    .number-row {
        display: flex;
        justify-content: space-between;
    }    .number-field {
        display: flex;
        justify-content: space-between;
    }

    .meta {
        flex: 1
    }

    .number-row>div:last-child {
        width: 100%;
        margin-top: 8px;
        justify-content: space-between;
    }    .number-field>div:last-child {
        width: 100%;
        margin-top: 8px;
        justify-content: space-between;
    }

    .features {
        justify-content: center
    }

    .feature {
        flex: 0 1 120px
    }

    .pricing {
        justify-content: center
    }

    .price-card {
        flex: 0 1 140px
    }

    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
}

@media (max-width:480px) {
    .container {
        padding: 8px;
        margin: 10px auto
    }

    .hero h1 {
        font-size: 18px
    }

    .features {
        flex-direction: column;
        align-items: stretch
    }

    .feature {
        flex: 1
    }

    .price-card {
        flex: 1 1 100%;
        min-width: auto
    }

    .purchase-selects {
        flex-direction: column
    }

    .tabs {
        flex-direction: column;
    }

    .tab-btn {
        text-align: center;
    }
}


.mb-5{
    margin-bottom: 50px;
}

.mb-1{
    margin-bottom: 20px;
}

.form-buy{
    font-weight: 600;
}

.btn-buy{

    margin-top:12px;

}

.btn-buy button{
    padding: 6px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'IRANSans';

}



/* Custom scrollbar for numbers-list */
.numbers-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #888 #21293a; /* Thumb color, Track color - customizable */
}

.service-options {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #888 #21293a; /* Thumb color, Track color - customizable */
}

.numbers-list::-webkit-scrollbar {
    width: 8px; /* Width of scrollbar */
}

.numbers-list::-webkit-scrollbar-track {
    background: #21293a; /* Track color - customizable */
    border-radius: 10px;
}

.numbers-list::-webkit-scrollbar-thumb {
    background: #888; /* Thumb color - customizable */
    border-radius: 10px;
}

.numbers-list::-webkit-scrollbar-thumb:hover {
    background: #555; /* Hover color - customizable */
}

/* Ensure scrollbar is on the right in RTL */
.numbers-list {
    direction: ltr;
}

/* Custom service search dropdown */
.service-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.service-input {
    width: 100%;
    font-size: 16px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
    font-family: 'IRANSans';
    color: #fff;
}

.service-input:focus {
    outline: none;
    border-color: #007bff;
}

.service-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #121928;
    border: 1px solid #212732;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 0 0 4px 4px;
}

.service-options li {
    padding: 10px;
    cursor: pointer;
    direction: rtl;
}

.service-options li:hover {
    background: #FFFFFF07 !important;
}

.service-options li.active {
    background: #e9ecef;
}

.service-placeholder {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
    color: inherit;
    min-width: 120px;
    font-size: 15px;
    font-family: IRANSans;
    font-weight: 600;
}

.service-placeholder:hover {
    background: var(--glass);
    color: #fff;
}

/* Two-column layout for search */
.search {
    display: flex;
    gap: 10px;
}

.search > * {
    flex: 1;
}

.sort-buttons{
    display: flex; gap: 10px;
    margin-top: 18px;
    justify-content: flex-end;
    justify-content: flex-start;
}

.sort-btn{
    font-family: 'IRANSans';
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    background: linear-gradient(90deg, #1d9ed9, #2c72dc);
    color: #ffffff;
    padding: 4px 11px;
    border: none;
}

.sort-btn:hover{
    font-family: 'IRANSans';
    background: linear-gradient(90deg, #1d9ed9, #2c72dc);
    color: #ffffff;
}

.loading{
    text-align: center;
    direction: rtl;
}

.blink {
    display: inline-block;
    font-weight: 600;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0.3; }
    100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .blink {
        animation: none;
        opacity: 1;
    }
}

.providers-section li{
    display: flex;
    justify-content: space-between;
    background: #131928;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    align-items: center;
}
.providers-section ul{
    padding-right: 0px;
}

.select-provider{
    font-family: 'IRANSans';
    font-size: 12px;
    padding: 0px 6px;
    height: 22px;
}


.diposit input{
    width: 100%;
    text-align: center;
}

.diposit button{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 7px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    margin-top: 10px;
    justify-content: center;
}

.diposit button:hover{
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
}

.btn-history button{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 4px 9px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    justify-content: center;
    border: none;
    font-family: 'IRANSans';
}

.btn-history button:hover{
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
    color: #ffffff;
}


.alert-danger{
    text-align: center;
    direction: rtl;
    background: #121928;
    padding: 11px;
    font-size: 14px;
    border-radius: 6px;
}

.table-price{
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    font-size: 14px;
    font-family: 'IRANSans';
}

th, td {
    border: 1px solid #232c3e;
    padding: 8px 12px;
    text-align: center;
}

.pagination {
    display: flex;
    gap: 0px;
}
.pagination button {
    padding: 8px 16px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    background: transparent;
    color: #4a95cb;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: IRANSans;
}
.pagination button:disabled {
    background-color: #101520;
    cursor: not-allowed;
    color: #6a6a6a;
    border-radius: 6px;
}

.status-failed{
    color: #e10000;
}

.status-success{
    color: #33c30f;
}


.btn-new button{
    cursor: pointer;
}

.mt-4{
    margin-top: 35px !important;
}

.mt-5{
    margin-top: 55px;
}
.mt-3{
    margin-top: 25px;
}
.d-flex{
    display: flex;
}
.profile-item input{
    margin: 10px;
}

.btn-profile{
    margin: 15px;
}

.btn-profile button{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    width: 100%;
    font-family: 'IRANSans';
    margin-top: 10px;
}


.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 0 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #a7a7a7;
    margin: 5px 10px 5px;
}

.profile-item .input {
    padding: 10px;
    border: 1px solid #8585853d;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.profile-item .input:focus {
    border-color: #007bff;
}


.ob-support a{
    background: #f5f5f5;
    color: #000;
    padding: 5px 10px;
    width: 100%;
    border-radius: 5px;
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.count-nav{
    background: #151b28;
    padding: 3px 10px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    margin-top: 12px;
    font-size: 13px;
    font-family: 'IRANSans';
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.list-unstyled{
    list-style-type: none;
    padding-right: 1px !important;
    margin-top: 20px;
}


#ticketForm {

    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'IRANSans';
}

/* ورودی‌ها و textarea */
#ticketForm .form-control,
#ticketForm .form-select {
    border-radius: 8px;
    border: 1px solid #202742;
    padding: 12px;
    font-size: 15px;
    transition: border-color 0.3s;
    background: #151b28;
    font-family: 'IRANSans';
    color: #fff;
}

#ticketForm .form-control:focus,
#ticketForm .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0,123,255,0.3);
    outline: none;
}

#ticketForm .btn {
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 7px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    margin-top: 10px;
    justify-content: center;
}

#ticketForm .btn:hover {
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
}

#ticketForm .btn:hover {
    transform: translateY(-2px);
}

/* فایل انتخابی */
#ticketForm #fileList {
    font-size: 14px;
    color: #555;
}

#ticketForm label.btn {
    cursor: pointer;
    gap: 8px;
    justify-content: flex-start;
    background: #282f3c;
    width: fit-content;
    padding: 4px 11px;
    font-size: 14px;
    border-radius: 5px;
}

/* استایل ردیف‌ها */
#ticketForm .row {
    margin-bottom: 15px;
}

#ticketForm .form-group {
    margin-bottom: 20px;
}

/* responsive */
@media (max-width: 768px) {
    #ticketForm .row {
        flex-direction: column;
    }
}

#ticketForm .form-label{
    font-size: 12px;

}


.card.hero {
    background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.6));
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
    direction: rtl;
}

.card.hero h1 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #e6eef6;
    text-align: right;
}

.mail-box-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
    direction: rtl;
}

.pull-left {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: end;
}

.btn {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'IRANSans';
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}

.btn-success {
    background: linear-gradient(90deg, #10b981, #059669);
    color: #ffffff;
}

.btn-success:hover {
    background: linear-gradient(90deg, #059669, #047857);
    transform: translateY(-1px);
}

.btn-info {
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    color: #ffffff;
}

.btn-info:hover {
    background: linear-gradient(90deg, #0891b2, #0e7490);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
}

#ticketSubject {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #e6eef6;
    text-align: right;
    direction: rtl;
}

.pb-3 {
    padding-bottom: 12px;
}

.status-ticket {
    display: flex;
    flex-direction: column;
    gap: 8px;
    direction: rtl;
}

.status-ticket div {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}


#ticketPriority,
#ticketStatus {
    justify-content: flex-start;
}

.reply-form {
    display: none; /* Hidden by default, shown via JS */
    margin-bottom: 20px;
    direction: rtl;
}

.reply-form .form-group {
    margin-bottom: 16px;
}

.reply-form .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #a7a7a7;
    margin-bottom: 6px;
    display: block;
}

.form-control {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 8px;
    color: #e6eef6;
    font-size: 15px;
    font-family: 'IRANSans';
    width: 100%;
    resize: vertical;
    direction: rtl;
    text-align: right;
}

.form-control::placeholder {
    color: var(--muted);
}

.form-control:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 0.2rem rgba(144, 110, 231, 0.25);
}

.d-flex.align-items-center {
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: #fff;
    padding: 5px 9px;
}

#fileList {
    margin-top: 8px;
    padding: 8px;
    background: var(--glass-2);
    border-radius: 6px;
    color: var(--muted);
    font-size: 14px;
    direction: rtl;
}

#fileList ul {
    margin: 0;
    padding-right: 20px;
    list-style-type: none;
}

#fileList li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 24px 0;
}

#ticketMessages {
    direction: rtl;
}
.area-404{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-404 img{
    text-align: center;
    width: max-content;
}

@media (max-width: 768px) {
    .page-404 img{
        width: 100%;
    }
}

.text-404{
    text-align: center;
}
.message-box {
    margin-bottom: 20px;
    padding: 11px;
    border-radius: 6px;
    direction: rtl;
    text-align: justify;
    font-size: 14px;
    font-weight: 600;
    color: #25c9e3;
}

.user-message {
    background: linear-gradient(135deg, rgba(110, 231, 183, 0.1), rgba(110, 231, 183, 0.05));
    border-right: 4px solid var(--accent);
}

.admin-message {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-right: 4px solid #3b82f6;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.message-header strong {
    color: #e6eef6;
}

.message-header small {
    color: var(--muted);
}

.message-replace {
    margin: 0;
    line-height: 1.6;
    color: #e6eef6;
    white-space: pre-wrap;
}

.file-box {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--glass);
    border-radius: 6px;
    color: var(--accent);
    font-size: 14px;
}

.file-item i {
    font-size: 16px;
}

.file-item a {
    color: var(--accent);
    text-decoration: none;
}

.file-item a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .card.hero {
        padding: 16px;
    }

    .pull-left {
        justify-content: end;
        flex-wrap: wrap;
    }

    .status-ticket {
        text-align: center;
    }


    .reply-form .form-group {
        margin-bottom: 12px;
    }
}


#replyForm label.btn {
    cursor: pointer;
    gap: 8px;
    justify-content: flex-start;
    background: #282f3c;
    width: fit-content;
    padding: 4px 11px;
    font-size: 14px;
    border-radius: 5px;
}

#replyForm label.btn:hover {
    cursor: pointer;
    gap: 8px;
    justify-content: flex-start;
    width: fit-content;
    padding: 4px 11px;
    font-size: 14px;
    border-radius: 5px;
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
}

.actions button{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    padding: 7px 20px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    margin-top: 10px;
    justify-content: center;
}

.actions button:hover{
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
    color: #fff;
}


.swal-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    font-size: 14px;
}
.swal-form input {
    width: -webkit-fill-available;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'IRANSans';
    margin: 5px 0px;
    text-align: center;
}
.gateway-option {
    background: #0f1827;
    padding: 10px;
    border-radius: 5px;
    border: none !important;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swal2-title{
    font-size: 20px;
}

#usersTableBody .btn{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    padding: 8px 12px;
    border-radius: 8px;
    color: #f2fffa;
    text-decoration: none;
}

#usersTable-two .btn{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    padding: 8px 12px;
    border-radius: 8px;
    color: #f2fffa;
    text-decoration: none;
}

#usersTable-two a{
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    padding: 5px 10px 1px;
    border-radius: 8px;
    color: #f2fffa;
    text-decoration: none;
}


.search-container{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-container input{
    max-width: 300px;
    padding: 17px 12px;
    height: 0;
}



.swal2-popup{
    background: linear-gradient(2deg, #0f1726 20%, #192232 50%, #151d2c 100%) !important;
    box-shadow: -6px 0px 11px -8px #000;
    color: #dfdfdf !important;
}

.merchant-input{
    border-color: #3c68bb;
}

.swal2-actions{
    flex-direction: row-reverse;
    font-family: IRANSans;
}
.swal2-actions button{
    font-family: IRANSans;
    font-size: 14px;
    font-weight: 600;
}

.swal2-select {
    font-size: 14px !important;
}

#status option{
    background: #161e2d;
}

.tab-container .btn {
    background: #6a4ee9;
    border: 1px solid var(--glass);
    padding: 8px 12px;
    border-radius: 8px;
    color: #f2fffa;
    text-decoration: none;
}

.text-warning{
    color: #f8bd55;
}

.text-success{
    color: #3dbf38;
}

.text-danger{
    color: #e63939;
}

.ticket-item {
    display: flex;
    justify-content: space-between;
    background: #0f1725;
    margin-bottom: 11px;
    padding: 4px 10px;
    color: #fff;
    font-size: 14px;
    border-radius: 8px;
}

.ticket-action a{
    color: #66c0ff;
    font-size: 12px;
    text-decoration: none;
    background: #1c2940;
    padding: 1px 5px;
    border-radius: 4px;
}
.ticket-action a:hover{

    color: #0096ff;
}

.no-item{
    background: #0f1725;
    margin-bottom: 11px;
    padding: 4px 10px;
    color: #fff;
    font-size: 13px;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .comment-row td {
        text-align: right;
        padding: 8px 10px;
        position: relative;
        display: flex;
        justify-content: center;
        font-size: 12px;
        flex-direction: column;

    }.co-checkbox{
         display: flex;
         flex-direction: row !important;
         justify-content: space-between !important;
   }.btn-comments{
   display: flex !important;
   flex-direction: row !important;
   justify-content: space-evenly !important;

   }.dataTables_filter{
    text-align: start !important;
   }.dataTables_info {
        font-size: 12px;
        text-align: center;
        margin-bottom: 18px;
       margin-top: 20px;
    }.btn-post-edit{

    margin-bottom: 7px !important;

    }
     .btn-menu button{
         margin-top: 0;
         margin-left: 5px;
     }
     .user-table td{
         justify-content: space-between !important;
     }
     .support-table td{
         justify-content: space-between !important;
     }
     .title-num h1{
         font-size: 14px !important;
     }
}

#edit-status,
#edit-role{
    border: 1px solid #fff;
    border-radius: 3px;
}
.ml-1{
    margin-left: 5px;
}
.swal-load-more-btn{
    font-size: 12px;
    border-radius: 5px;
    padding: 4px 10px;
}
@media (max-width: 768px) {
    .table-price thead {
        display: none;
    }

    .table-price, .table-price tbody, .table-price tr, .table-price td {
        display: block;
        width: 100%;
        border: none;
    }

    .table-price tr {
        background: #131a26;
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        padding: 10px;
    }

    .table-price td {
        text-align: right;
        padding: 8px 10px;
        position: relative;
        display: flex;
        justify-content: center;
        font-size: 12px;
        align-items: center;
    }

    .table-price td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #fff;
        display: block;
        margin-bottom: 4px;
    }

}

@media (max-width: 768px) {

    .numbers-list div{

        font-size: 14px;

    }.card h3 {

       font-size: 16px;

    }.feature strong {
    font-size: 14px;
    }
     .grid-support{
         display: flex;
         flex-direction: column-reverse;
     }
    .btn-support{
               color: #fff;
               text-decoration: none;
               background: #575ed6;
               padding: 2px 6px;
               border-radius: 5px;
     }
    #ticketForm{
        padding: 5px;
    }.sub-support{

    display: flex;
    flex-direction: column;

    }.profile-item{
      flex-direction: column;
    }

}

@media (max-width: 768px) {

    .numbers-list div{

        font-size: 14px;

    }

}

.code{
    font-size: 16px;
    font-weight: 600;

}

.sort-buttons{
    display: flex; gap: 10px;
    margin-top: 18px;
    justify-content: flex-end;
    justify-content: flex-start;
}

.sort-btn{
    font-family: 'IRANSans';
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    background: linear-gradient(90deg, #1d9ed9, #2c72dc);
    color: #ffffff;
    padding: 4px 11px;
    border: none;
}

.sort-btn:hover{
    font-family: 'IRANSans';
    background: linear-gradient(90deg, #1d9ed9, #2c72dc);
    color: #ffffff;
}


.empty{
    font-size: 13px;
    text-align: center;
    background: #131827;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}

.mobile-deposit-form label{
    font-size: 14px;
}
.mobile-deposit-form button{
    margin-top: 28px;
    padding: 7px;
}

.mobile-deposit-form input{
    text-align: center;
    margin-top: 12px;
}

#depositLink{
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px 9px 16px;
    background: #172a4a;
    color: #fff;
}

.depositLink{
    font-size: 10px !important;
    font-weight: 600 !important;
    padding: 2px 9px !important;
    background: #172a4a !important;
    color: #258fdb !important;
    border-radius: 7px !important;
}


.panelLink{
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 14px 7px 14px;
    background: #172a4a;
    color: #fff !important;
    margin-left: 2px;
}


.profile-item{
    margin-top: 40px;
}



.bottom-left-element {
    position: fixed;
    bottom: 20px;
    left: 10px;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    opacity: 0.6;
}
.bottom-left-element img{
    width: 100px;
    height: 100px;
}
.bottom-left-element:hover {
    opacity: 1;
}
.bottom-left-element h3 {
    margin: 0;
    font-size: 10px;
    color: #333;
}
.bottom-left-element a {
    font-size: 10px;
    color: #007bff;
    text-decoration: none;
}
.bottom-left-element a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .bottom-left-element {
        width: 100px;
        height: 100px;
        left: 0px; /* حاشیه کمتر در موبایل */
        bottom: 7px;
        font-size: 10px; /* فونت کوچک‌تر */
    }
    .bottom-left-element img{
        width: 65px;
        height: 65px;
    }
}

/* Styles for Posts Management Page - Integrated with Main Template Theme */

/* Global Adjustments for Page */
#wrapper {
    min-height: 100vh;
    background: linear-gradient(180deg, #071227 0%, #081226 60%);
    color: #e6eef6;
    direction: rtl;
    font-family: IRANSans;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
.content-wrapper > div:first-child {
    margin-bottom: 20px;
}

.content-wrapper h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #e6eef6;
    text-align: right;
}

/* Main Content Card */
.content-wrapper > div > div {
    background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

.content-wrapper h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    color: #e6eef6;
    text-align: right;
}

/* Action Buttons */
.content-wrapper div > div {
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.content-wrapper a,
.content-wrapper button {
    padding: 8px 12px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: IRANSans;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    color: var(--accent);
}

.content-wrapper a:hover,
.content-wrapper button:hover {
    background: var(--glass-2);
    color: var(--accent);
    transform: translateY(-1px);
}

.content-wrapper button#batch-delete-btn {
    display: none;
    background: linear-gradient(90deg, #ef4444, #dc2626);
    color: #ffffff;
    border: none;
}

.content-wrapper button#batch-delete-btn:hover {
    background: linear-gradient(90deg, #dc2626, #b91c1c);
}

/* Table Styles */
.overflow-x-auto {
    overflow-x: auto;
    margin-bottom: 15px;
}

#posts-table,
#categories-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: IRANSans;
    font-size: 14px;
}

#posts-table thead tr,
#categories-table thead tr {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

#posts-table th,
#posts-table td,
#categories-table th,
#categories-table td {
    border: 1px solid #232c3e;
    padding: 12px 8px;
    text-align: center;
    color: #e6eef6;
}

#posts-table th {
    font-weight: 600;
    color: #ffffff;
    background: var(--glass);
}

#posts-table tbody tr {
    transition: 0.3s;
}

#posts-table tbody tr:hover {
    background: var(--glass-2);
}

#posts-table img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

/* Checkbox */
.post-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

/* Status Badges */
#posts-table span {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--glass);
    background: var(--glass-2);
    color: var(--muted);
}

#posts-table span[style*="پیش‌نویس"] {
    border-color: #f59e0b;
    color: #f59e0b;
}

#posts-table span[style*="منتشرشده"] {
    border-color: var(--accent);
    color: var(--accent);
}

#posts-table span[style*="زباله‌دان"] {
    border-color: #ef4444;
    color: #ef4444;
}

/* Action Links/Buttons in Table */
#posts-table a,
.delete-post-btn {
    padding: 6px 10px;
    border: 1px solid var(--glass);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 2px;
    transition: 0.3s;
}

#posts-table a {
    color: var(--accent);
    text-decoration: none;
}

#posts-table a:hover {
    background: var(--glass);
}

.delete-post-btn {
    background: transparent;
    color: #ef4444;
    border-color: #ef4444;
}

.delete-post-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Empty State */
#posts-table tbody tr td[colspan="8"] {
    background: var(--glass-2) !important;
    color: var(--muted);
    font-size: 16px;
    padding: 40px !important;
    text-align: center;
}

/* Pagination */
.pagination-simple {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

#prevBtn,
#nextBtn {
    padding: 8px 16px;
    border: 1px solid var(--glass);
    border-radius: 8px;
    background: transparent;
    color: #4a95cb;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: IRANSans;
}

#prevBtn:hover,
#nextBtn:hover:not(:disabled) {
    background: var(--glass);
    transform: translateY(-1px);
}

#prevBtn:disabled,
#nextBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: var(--muted);
}

/* Modals */
#addCategoryModal,
#manageCategoriesModal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#addCategoryModal > div,
#manageCategoriesModal > div {
    background: linear-gradient(180deg, var(--card), rgba(11, 18, 32, 0.6));
    padding: 24px;
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    direction: rtl;
}

#manageCategoriesModal > div {
    max-width: 800px;
    margin: 5% auto;
}

#addCategoryModal h4,
#manageCategoriesModal h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #e6eef6;
    text-align: right;
}

#addCategoryModal form div,
#manageCategoriesModal form div {
    margin-bottom: 15px;
}

#addCategoryModal label,
#manageCategoriesModal label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

#addCategoryModal input,
#manageCategoriesModal input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    background: var(--glass);
    color: #e6eef6;
    font-size: 14px;
    font-family: IRANSans;
}

#addCategoryModal input::placeholder {
    color: var(--muted);
}

#addCategoryModal input:focus,
#manageCategoriesModal input:focus {
    outline: none;
    border-color: var(--accent);
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 20px;
}

.modal-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: IRANSans;
}

#closeAddModal,
#closeManageModal {
    background: transparent;
    border: 1px solid var(--glass);
    color: var(--muted);
}

#closeAddModal:hover,
#closeManageModal:hover {
    background: var(--glass);
    color: var(--accent);
}

#saveCategoryBtn {
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: #ffffff;
    border: none;
}

#saveCategoryBtn:hover {
    background: linear-gradient(90deg, #0891b2, #6d28d9);
    transform: translateY(-1px);
}

/* Responsive for Modals */
@media (max-width: 768px) {
    #addCategoryModal > div,
    #manageCategoriesModal > div {
        width: 95%;
        margin: 10% auto;
        padding: 16px;
    }

    .modal-actions {
        flex-direction: column;
    }
}

/* Custom Scrollbar for Modals */
#manageCategoriesModal > div {
    scrollbar-width: thin;
    scrollbar-color: #888 #21293a;
}

#manageCategoriesModal > div::-webkit-scrollbar {
    width: 8px;
}

#manageCategoriesModal > div::-webkit-scrollbar-track {
    background: #21293a;
    border-radius: 10px;
}

#manageCategoriesModal > div::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#manageCategoriesModal > div::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#edit_featured_image, #add_featured_image{
    display: none;
}

#gallery-upload-swal{
    display: none;
}
#add-image-btn{
    background: #4a6ee2;
    color: #fff;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 4px;
}
#edit-upload-area, #add-upload-area{
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px dashed #ccc;
    flex-direction: column;
    padding: 28px;
}
#upload-placeholder, #add-upload-placeholder{
    text-align: center;
}
#add-image-preview{
    display: flex;
    flex-direction: column;
}
#remove-featured-image{
    padding: 2px 9px;
    font-size: 12px;
    border-radius: 3px;
    width: fit-content;
    margin-top: 20px;
}
.post-gallery{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
#gallery-images-swal{
    border-top: 1px solid #595959;
    padding-top: 20px;
}
#image-preview{
    display: flex;
    flex-direction: column;
}
#remove-add-featured-image{
    margin-top: 20px;
    font-size: 9px;
    width: fit-content;
}
.swal-gallery-upload-btn{
    padding: 5px 13px;
    border-radius: 5px;
}
.swal-add-image-btn{
    padding: 5px 13px;
    border-radius: 5px;
}
.swal-delete-image-btn{
    padding: 5px 13px;
    border-radius: 5px;
}

.btn-posts{
    display: flex;
    justify-content: space-between;
}
.btn-posts a{
    background: #131928;
    border: 1px solid var(--glass);
    padding: 3px 12px;
    color: #3ea8cb;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    margin-bottom: 17px;
}

.btn-posts a:hover{
    color: #018ee6;
}


.btn-table a, .btn-table button  {
    background: #131928 !important;
    border: 1px solid var(--glass) !important;
    padding: 3px 12px !important;
    color: #3ea8cb !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    font-size: 12px !important;
}

.table-post a{
    background: #131928 !important;
    border: 1px solid var(--glass) !important;
    padding: 3px 12px !important;
    color: #3ea8cb !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    font-size: 12px !important;
}.table-post button{
     display: inline-block;
     background: #131928 !important;
     border: 1px solid var(--glass) !important;
     padding: 3px 12px !important;
     color: #e71a49 !important;
     text-decoration: none !important;
     border-radius: 5px !important;
     font-size: 12px !important;
}
.dataTables_filter{
    text-align: end;
}
 .dataTables_filter label{
     font-size: 12px;
 }
.dataTables_filter input{
    background: #131928;
    border: 1px solid #142737;
    border-radius: 5px;
    padding: 6px;
    margin-right: 9px;
    color: #fff;
 }

#posts-table_paginate{
    display: flex;
    justify-content: center;
}

#posts-table_paginate a{
    background: #131928;
    border: 1px solid #142737;
    border-radius: 5px;
    padding: 5px 15px;
    margin-right: 0px;
    color: #3ea8cb;
    font-size: 12px;
}

#posts-table_paginate .current{
    color: #fff;
}
.dataTables_info{
    font-size: 12px;
}

.table-cat button{
    background: #131928 !important;
    border: 1px solid var(--glass) !important;
    padding: 3px 12px !important;
    color: #3ea8cb !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    width: max-content;
}
.cat-input{
    margin: 0;
}

.cat-input input{
    margin: 10px 0;
    font-size: 14px;
    font-family: 'IRANSans';
    padding: 20px !important;
}


.section-title {
    margin: 0 0 30px 0;
    font-size: 24px;
    font-weight: 700;
    color: #e6eef6;
    text-align: right;
    direction: rtl;
}

/* گرید سه ستونه */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* کارت مقاله */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
    overflow: hidden;
    border-radius: 14px;
    padding: 10px;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(2, 6, 23, 0.7);
}

/* تصویر مقاله */
.post-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

/* محتوای مقاله */
.post-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* عنوان مقاله */
.post-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #e6eef6;
    line-height: 2;
    text-align: right;
    direction: rtl;
}

.blog-area{
   margin-top: 100px;
}

/* خلاصه مقاله */
.post-excerpt {
    margin: 0 0 16px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
    direction: rtl;
    flex: 1;
}

/* لینک خواندن بیشتر */
.post-link {
    display: flex;
    font-size: 13px;
    background: #131928;
    color: #3ea8cb !important;
    width: max-content;
    border-radius: 5px !important;
    padding: 4px 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: 0.3s !important;
    font-family: IRANSans !important;
    margin-top: auto;
}

.post-link:hover {
    background: var(--glass) !important;
    color: #76deff !important;
    transform: translateY(-1px) !important;
}

/* Responsive - در موبایل و تبلت به دو یا یک ستون تغییر کند */
@media (max-width: 980px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .section-title {
        font-size: 20px;
    }

    .post-title {
        font-size: 16px;
    }

    .post-excerpt {
        font-size: 13px;
    }

    .post-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .posts-grid {
        gap: 12px;
    }

    .blog-grid {
        gap: 12px;
    }

    .post-content {
        padding: 14px;
    }

    .post-image {
        height: 150px;
    }
}

.blog-title{
    font-size: 20px;
    margin-top: 0;
}


.btn-blog{
    text-align: left;
    display: flex;
    flex-direction: row-reverse;
}


.single_blog_thumb img{
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

.blog-details .card{
    margin-top: 0;
}

.post-categories-menu{
    border-bottom: 1px solid #444444;
}


.post-categories-menu ul{
    display: flex;
    margin-left: 10px;
    list-style-type: none;
}

.post-categories-menu li{
    margin-left: 10px;
}

.post-categories-menu i{
    margin-left: 5px;

}
.post-categories-menu a{
    text-decoration: none;
    color: #c6c6c6;
}


.blog_page-text{
    margin: 30px 20px;
}
.blog_page-text h1{
    font-size: 22px;
    margin: 10px 0;
    line-height: 38px;
}
.blog_page-text h2{
    font-size: 20px;
    margin: 10px 0;
    line-height: 38px;
}
.blog_page-text h3{
    font-size: 18px;
    margin: 10px 0;
    line-height: 38px;
}
.blog_page-text h4{
    font-size: 16px;
    margin: 10px 0;
    line-height: 38px;
}
.blog_page-text p{
    font-size: 15px;
    font-weight: 500;
    line-height: 31px;
}

.blog_page-text img{
    border-radius: 15px;
    margin: 20px 0;
}

.blog_page-text a{
    color: #19a3d8;
    text-decoration: none;
}

.cat-details li{
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
}
.cat-details a{
    text-decoration: none;
    color: #c6c6c6;
    font-weight: 600;
}
.cat-details a:hover{
    text-decoration: none;
    color: #19a3d8;
}

.cat-details span{
     background: #141e36;
     padding: 0px 14px;
     height: auto;
     border-radius: 32px;
}


/*blog details comment box*/
.blog-details-comments-box {
    padding: 20px 40px 35px;
    background: #373943;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: right;
}
.widget-comments-title h2 {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10196078431372549);
    padding: 0 0 28px;
}
.post-comment-thumb {
    float: right;
    margin-left: 20px;
}
.post-comment-thumb img{
    width: 70px;
    height: 70px;
    border-radius: 43px;
}

.name-comment h4{
    margin-bottom: 5px;
    margin-bottom: 5px;
}

.post-title h4 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 500;
}
span.left-date {
    color: #2d8ddc;
    font-size: 14px;
    font-family: 'IRANSans';
}
.posts-reply p {
    color: #e2e4e6;
    font-size: 15px;
    overflow: hidden;
    padding: 3px 0 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10196078431372549);
}
.posts-reply{
    margin-top: 20px;
    margin-right: 23px;
    direction: rtl;
}
.post-reply p {
    color: #919da4;
    font-size: 16px;
    overflow: hidden;
    padding: 3px 0 0;
}
span.rights-reply {
    float: left;
    font-family: 'IRANSans';
    color: #2d8ddc;
    padding: 3px 16px;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    top: -165px;
    cursor: pointer;
}
span.right-reply {
    float: left;
    font-family: 'IRANSans';
    color: #2d8ddc;
    padding: 3px 16px;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    top: -126px;
    cursor: pointer;
}
.post-reply span i {
    display: inline-block;
    transform: rotateY(180deg);
    margin-right: 5px;
}
.posts-reply span i {
    display: inline-block;
    transform: rotateY(35deg);
    margin-right: 5px;
}

.name-comment h4{
    font-size: 14px;
    margin-bottom: 3px;
    color: #919da4;
    font-family: 'IRANSans';
}

/*contact form box*/
.style-two.contact-form-box {
    border-radius: 8px;
    text-align: right;
}
.widget-sidebar-title2 h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 600;
    padding: 0 0 29px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10196078431372549);
}
.style-two.contact-form-box .from-box input {
    height: 45px;
    background-color: #1a1e29;
    border: 0;
    font-family: 'IRANSans';
    color: #fff;
    border-radius: 5px;
    text-align: right;
}
.style-two.contact-form-box .from-box textarea {
    height: 150px;
    width: 100%;
    padding: 15px 22px 0px;
    background: #1a1e29;
    border: 0;
    border-radius: 5px;
    color: #fff;
    text-align: right;
    font-family: 'IRANSans';
}


.contact-form button {
    font-size: 14px;
    font-family: 'IRANSans';
    font-weight: 600;
    color: #090909;
    padding: 5px 20px;
    border: 1px solid #fabb04;
    border-radius: 8px;
    transition: 0.5s;
    position: relative;
    z-index: 1;
    margin: 0;
    text-decoration: none;
}



.contact-form button:hover {
    color: #fff;
    transform: scale(1);
    background: #000;
    border: 1px solid #fabb04;
}

.from-box .captcha{
    width: min-content;
}

/* برای Chrome، Safari، Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    font-family: 'IRANSans';
}

/* برای Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* Layout for name and email side by side */
.form-row {
    display: flex;
    gap: 15px; /* فاصله بین دو ستون */
    margin-bottom: 15px;
}

.form-column {
    flex: 1; /* هر ستون نیمی از عرض را بگیرد */
    min-width: 0; /* برای جلوگیری از overflow در متن طولانی */
}

/* Full width elements */
.full-width {
    width: 100%;
    margin-bottom: 15px;
}

/* Input and textarea styling (فرض بر پایه‌ای) */
.from-box input,
.from-box textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    direction: rtl; /* برای زبان فارسی */
}

.from-box textarea {
    resize: vertical;
    min-height: 120px;
}

.from-box label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    direction: rtl;
    font-size: 14px;
}

/* Button */
.contact-form button {
    width: 100%;
    padding: 4px;
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.contact-form button:hover {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    border: none;

}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Validation feedback */
.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none; /* نمایش بر اساس JS validation */
}

/* Responsive: در موبایل، ستون‌ها عمودی شوند */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-column {
        flex: none;
    }
}


.criptobit-search {
    position: relative;
    z-index: 1;
    padding: 26px 0 0;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper input[type="text"] {
    background: #1a1e29;
    height: 50px;
    width: 100%;
    border-radius: 5px;
    padding: 0 20px 0 40px;
    color: #fff;
    border: none;
    text-align: right;
    box-sizing: border-box;
    font-family: 'IRANSans';
}

.search-wrapper input[type="text"]::placeholder {
    color: #a3a2ac;
}

.search-wrapper .search-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-wrapper .search-icon-btn i {
    font-size: 18px;
    color: #a3a2ac;
}

.search-wrapper .search-icon-btn:hover i {
    color: #fff;
}

.search-wrapper .search-icon-btn:focus {
    outline: none;
}



/* Pagination Styles - RTL Compatible */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
    direction: rtl; /* RTL support for Persian */
}

.page-item {
    margin: 0 0.25rem;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: auto;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    background: #131928;
    border: 1px solid #142737;
    border-radius: 5px;
    padding: 5px 15px;
    margin-right: 0px;
    color: #3ea8cb;
    font-size: 12px;

}

.page-link:hover {
    color: #fff; /* Blue on hover */
    background-color: #3ea8cb;
    border-color: #0056b3;
    transform: translateY(-1px); /* Lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-item.active .page-link {
    color: #fff;
    background-color: #10abd6;
    border-color: #2299da;
    font-weight: 600;
    padding: 6px;
    height: auto;
}

.page-item.active .page-link:hover {
    background-color: #10abd6;
    border-color: #2299da;
    transform: none; /* No lift on active */
}

/* Previous/Next specific styles */
.page-link[rel="prev"],
.page-link[rel="next"] {
    font-weight: 600;
    min-width: 60px;
}

@media (max-width: 768px) {
    .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0 0.75rem;
        font-size: 0.9rem;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

.alert-warning{
    background: #272d42;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 7px;
    border-radius: 6px;
}


.page-header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

/* breadcrumb */
.breadcrumb {
    font-size: 14px;
    color: #777;
    margin-bottom: 8px;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li a {
    color: #0078d7;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: #005bb5;
}

.breadcrumb li::after {
    content: "›";
    color: #aaa;
    margin: 0 8px;
}

.breadcrumb li:last-child::after {
    content: "";
}

/* عنوان صفحه */
.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

/* حالت واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .page-title {
        font-size: 20px;
    }
}

.add_category option{
    background-color: #141e36;
    color: #fff;
}

.selectMenuForm button{
    width: auto;
    margin-top: 0;
    margin-right: 8px;
}
.selectMenuForm select{
    width: auto;
    display: inline-block;
    margin-right: 10px;
    padding: 6px;
}

.selectMenuForm{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.table-price button{
    width: auto;
    padding: 9px 12px;
    font-size: 13px;
}

.cancelEdit{
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

#comments-datatables{
    margin-top: 11px;
}

@media (min-width: 800px) {

    .btn-comments{
        padding: 0;
        width: 150px;
    }
}

.btn-comments button{
    margin: 0px !important;
    padding: 9px;
}
#comments-datatables_paginate{
    text-align: center;
}
#comments-datatables_paginate a {
    background: #131928;
    border: 1px solid #142737;
    border-radius: 5px;
    padding: 5px 15px;
    margin-right: 5px;
    color: #3ea8cb;
    font-size: 12px;
    font-weight: bold;

}

#editCommentForm input{
    margin-top: 2px;
    padding: 7px;
    height: auto;
    text-align: center;
    font-family: 'IRANSans';
    font-size: 14px;
    font-weight: 600;
}
#editCommentForm textarea{
    margin-top: 2px;
    padding: 7px;
    font-family: 'IRANSans';
    font-size: 14px;
    font-weight: 600;
}
.swal2-textarea{
    font-family: 'IRANSans';
    font-size: 14px;
}
.reply-comment textarea{
    font-size: 14px;
    font-weight: 600;
    font-family: 'IRANSans';
    width: -webkit-fill-available;
}
#batch-delete-btn{
background: #131928 !important;
border: 1px solid var(--glass) !important;
padding: 3px 12px !important;
color: #e71a49 !important;
text-decoration: none !important;
border-radius: 5px !important;
font-size: 12px !important;

}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.file-upload-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    left: -9999px; /* مخفی کردن input اصلی */
}

.file-upload-label {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.file-upload-label:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.file-upload-label:active {
    transform: translateY(0);
}

.file-upload-filename {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.current-image {
    display: block;
    margin-top: 10px;
    text-align: center;
}

.current-image img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
}

.swal2-popup{
    padding: 10px !important;
}


.grid-home {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.dashboard-sidebar {
    flex-shrink: 0;
}

/* --- دسکتاپ: مقالات داخل ستون چپ --- */
.posts-container-desktop {
    display: block;
}
.posts-container-mobile {
    display: none;
}

/* --- موبایل: مقالات بعد از سایدبار --- */
@media (max-width: 768px) {
    .grid-home {
        flex-direction: column;
        gap: 16px;
    }

    /* ترتیب */
    .main-content { order: 1; }
    .dashboard-sidebar { order: 2; }
    .posts-container-mobile { order: 3; }

    /* عرض کامل */
    .main-content,
    .dashboard-sidebar,
    .posts-container-mobile {
        width: 100% !important;
        margin: 0 !important;
    }

    /* مخفی کردن نسخه دسکتاپ */
    .posts-container-desktop {
        display: none !important;
    }
    .posts-container-mobile {
        display: block !important;
    }
}

/* دسکتاپ: مخفی کردن نسخه موبایل */
@media (min-width: 769px) {
    .posts-container-mobile {
        display: none !important;
    }

}

@media (max-width:768px) {
    .blog_page-text{
        margin: 30px 7px !important;
    }
    .support-flex td{
        display: flex;
        justify-content: space-between;
        padding: 1px 8px;
    }
}

.error{
    text-align: center !important;
    background: #131928 !important;
    padding: 10px !important;
    border-right: 8px !important;
}

.meta-active img{
    width: 38px;
    height: 27px;
}

.vn-active{
    background: #2885a9;
    padding: 1px 7px;
    border-radius: 27px;
    color: #fff;
    font-size: 10px;
}

.mr-2{
    margin-right: 7px;
}

.text-internal{
    font-size: 14px;
    background: #19283e;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    font-weight: 600;
}

.role-admin{
    color: #eb2c61;
}
.role-user{
    color: #2c93eb;
}

.diposit-plus{
    display: flex;
    justify-content: space-between;
}

#loginMobile{
    color: #fff !important;
}

#loginPassword{
    color: #fff !important;
}

#authModal input{
    color: #fff !important;
    text-align: center;
    margin-bottom: 12px;
}


.contact-form-box .message-box{
    text-align: center;
}


/*--------------------*/


.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}


.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.submit-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #004085, #06b6d4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sms-option,
.back-option {
    text-align: center;
    margin: 15px 0;
}

.toggle-link,
.resend-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.toggle-link:hover,
.resend-link:hover {
    color: #2988f1;
    text-decoration: none;
}

.code-inputs-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.code-inputs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 300px;
    direction: ltr; /* LTR for code inputs to align properly */
}

.code-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.code-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.error-message,
.success-message {
    display: none;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.timer-container {
    text-align: center;
    margin: 15px 0;
    font-size: 14px;
    color: #fff;
}

.resend_code {
    text-align: center;
    margin-top: 10px;
}

.mobile-display {
    padding: 5px;
    margin-bottom: 15px;
}

.login-edit-mobile {
    color: #007bff !important;
    font-size: 14px;
}

.mr-2 {
    margin-right: 0.5rem;
}

.licence-input{
    font-family: 'IRANSans';
    font-size: 18px;
}


.number-rtl{
    direction: ltr;
}

/* Responsive */
@media (max-width: 480px) {
    .modal-content {
        margin: 10% auto;
        padding: 15px;
        width: 95%;
    }

    .code-inputs {
        gap: 8px;
    }

    .code-input {
        padding: 10px;
        font-size: 16px;
    }
}

.login-mobile-number{
    color: #fff;
    font-size: 14px;
}

.btn-support{
    padding: 0 10px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
}

.admin-support{
    align-items: center;
    color: #fff;
    text-decoration: none;
    display: flex;
}
.accordion-button:not(.collapsed){
    background: none;
    color: #fff;
}
.accordion-item{
    border: none;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
    margin-bottom: 10px;
    background: #071226;
}
.accordion-header{
    padding: 0px 15px;
    margin: 0 !important;
    background: #141928;
    border-radius: 15px 15px 0 0;
}
.accordion-button{
    padding: 13px 10px;
    background: none !important;
    display: flex;
    justify-content: space-between;
    color: #fff;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button::after{
    margin-left: 0 !important;
    filter: brightness(0) invert(1);
}

.accordion-body{
    background: #181d2c;
    padding: 15px 30px;
    line-height: 41px;
    border-radius:  0 0 15px 15px;
}

.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.li-input{
    font-family: 'IRANSans';
    font-size: 19px;
}

@media (max-width:768px) {
    .accordion-button{
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}