﻿@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    font-display: fallback;
    src: url('../fonts/iranSans5/IRANSansWeb(FaNum).eot');
    src: url('../fonts/iranSans5/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../fonts/iranSans5/IRANSansWeb(FaNum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/iranSans5/IRANSansWeb(FaNum).ttf') format('truetype');
}

h1,
h2,
h3,
h4,
h5,
h6,
body,
input,
select,
button,
label,
a,
p,
span,
ul,
li,
text,
th,
div,
.card {
    font-family: 'IRANSans', Geneva, sans-serif !important;
}


.form-select {
    background-position: left 0.75rem center;
}



.dir-ltr {
    direction: ltr !important;
}

.latin-font {
    font-family: Arial !important;
}

.datePickerInputGroup {
    border-left: 1px solid #d2d6da !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 1px solid #d2d6da !important;
}


.spanempty:empty {
    display: none;
}

.text-validator {
    font-size: 0.65rem;
    font-weight: 600;
}


.table thead th {
    padding: 0 !important;
}



.table-custom {
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-color: #e9ecef;
}


.bg-white-custom {
    background-color: #f1f1f1;
}

.border-defualt {
    border: 1px solid #d2d6da;
}



.cursor-not-allow {
    cursor: not-allowed;
}


.text-deposit {
    color: #0004bf;
}

.text-Withdraw {
    color: #006f46;
}


.bg-gradient-primary {
    background-image: linear-gradient(310deg, #3D550C 0%, #81B622 100%);
}



.drop-zone {
    height: 50vh;
    padding: 0px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 1px dashed #6f7171;
    border-radius: 10px;
}

.drop-zone--over {
    border-style: solid;
}

.drop-zone__input {
    display: none;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    overflow: hidden;
    background-color: transparent;
    background-size: contain;
    position: relative;
    background-image: url("../img/Logo.png");
    background-position-x: center;
    background-repeat: no-repeat;
}

    .drop-zone__thumb::after {
        content: attr(data-label);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px 0;
        color: #000000;
        background: rgb(161 161 161 / 40%);
        font-size: 17px;
        text-align: center;
    }

.img-auto {
    object-fit: fill;
    height: 200px;
}

.text-primary {
    color: #3D550C;
}

.text-gradient.text-primary {
    background-image: linear-gradient(310deg, #3D550C, #81B622);
}

.carousel-inner .carousel-item > img {
    -webkit-animation: thing 20s;
    -o-animation: thing 20s;
    animation: thing 20s;
}

@keyframes thing {
    from {
        transform: scale(1, 1);
    }

    to {
        transform: scale(1.5, 1.5);
    }
}


.mt-n10 {
    margin-top: -10rem !important;
}


.navbar-vertical .navbar-nav > .nav-item .nav-link.active .icon {
    background-image: linear-gradient(310deg, #f8f709 0%, #ff9d0c 100%);
}


.bg-gradient-site {
    background: rgb(226,164,254);
    background: radial-gradient(circle, rgba(226,164,254,1) 0%, rgba(51,0,105,1) 100%);
}


.bg-menu {
    background-image: linear-gradient(310deg, #16212c 0%, #aab1b7 100%);
}



/*pagerStyle*/


.pager table tbody tr:last-child td {
    border: 0;
}

.pager table tbody tr td:last-child {
    border: 0;
}

.pager table tbody tr td:first-child {
    border: 0;
}


.table table tbody tr td a,
.table table tbody tr td span {
    position: relative;
    float: left;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem !important;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #cb0c9f;
    text-decoration: none;
    background-color: #eee;
}

.table table > tbody > tr > td > span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #cb0c9f;
    border-color: #337ab7;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem !important;
}

.table table > tbody > tr > td:first-child > a,
.table table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.table table > tbody > tr > td:last-child > a,
.table table > tbody > tr > td:last-child > span {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.table table > tbody > tr > td > a:hover,
.table table > tbody > tr > td > span:hover,
.table table > tbody > tr > td > a:focus,
.table table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #ffe200;
    background-color: #000;
    border-color: #ddd;
}




.btn-label {
    position: relative;
    left: -12px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px 0 0 3px;
}

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
}



.icon-shape i {
    color: #fff;
    opacity: 0.8;
    top: 2px;
    position: relative;
}
/* غیرفعال کردن فلش پیش‌فرض */
.navbar-nav .nav-link[data-bs-toggle="collapse"]::after {
    display: none !important;
}

/* حذف کامل تمام دایره‌ها - چه فعال چه غیرفعال */
.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link::before,
.navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item .nav-link::before,
.navbar-vertical .navbar-nav .nav-item .collapse .nav .nav-item .nav-link.active::before,
.navbar-vertical .navbar-nav .nav-item .collapsing .nav .nav-item .nav-link.active::before {
    display: none !important;
    content: none !important;
}


/* انیمیشن فلش */
.navbar-nav .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}



.signin-container {
    max-width: 500px;
    margin: 100px auto;
}

.verification-input {
    letter-spacing: 12px;
    font-size: 1.8rem;
    text-align: center;
    direction: ltr;
    font-weight: bold;
}

    .verification-input::placeholder {
        letter-spacing: 2px;
        font-size: 1rem;
        font-weight: normal;
    }

.timer-text {
    font-size: 0.9rem;
}

.mobile-prefix {
    background-color: #f8f9fa;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    padding: 0 12px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #495057;
}



/* ============================================= */
/* Overlay لودر - تمام صفحه */
/* ============================================= */
.ajax-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .ajax-loader-overlay.show {
        opacity: 1;
        visibility: visible;
    }

/* ============================================= */
/* کارت لودر */
/* ============================================= */
.ajax-loader-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ajax-loader-overlay.show .ajax-loader-card {
    transform: translateY(0);
}

/* ============================================= */
/* اسپینر */
/* ============================================= */
.ajax-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e8ecf1;
    border-top: 3px solid #5e72e4;
    border-right: 3px solid #5e72e4;
    border-radius: 50%;
    animation: loaderSpin 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================= */
/* متن لودر */
/* ============================================= */
.ajax-loader-text {
    color: #5e6d82;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================= */
/* نقاط متحرک */
/* ============================================= */
.ajax-loader-dots {
    display: inline-flex;
    gap: 3px;
    margin-right: 2px;
}

    .ajax-loader-dots span {
        width: 5px;
        height: 5px;
        background: #5e72e4;
        border-radius: 50%;
        opacity: 0.3;
        animation: dotPulse 1.4s ease-in-out infinite;
    }

        .ajax-loader-dots span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .ajax-loader-dots span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes dotPulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    30% {
        opacity: 1;
        transform: scale(1.3);
    }
}





/* ============================================= */
/* Preloader - نمایش قبل از لود کامل صفحه */
/* ============================================= */
#publicPreloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafd 0%, #eef2f7 50%, #f0f4ff 100%);
    transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

    #publicPreloader.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

/* ============================================= */
/* کارت مرکزی */
/* ============================================= */
.public-loader-card {
    text-align: center;
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ============================================= */
/* لوگو یا آیکن */
/* ============================================= */
.public-loader-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #5e72e4, #825ee4);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(94, 114, 228, 0.3);
    animation: pulseIcon 2s ease-in-out infinite;
}

    .public-loader-icon i {
        font-size: 2rem;
        color: #fff;
    }

@keyframes pulseIcon {
    0%, 100% {
        box-shadow: 0 12px 32px rgba(94, 114, 228, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 20px 48px rgba(94, 114, 228, 0.45);
        transform: scale(1.05);
    }
}

/* ============================================= */
/* حلقه‌های چرخان */
/* ============================================= */
.public-loader-rings {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

    .public-loader-rings .ring {
        position: absolute;
        border-radius: 50%;
        border: 2px solid transparent;
        animation: ringSpin 1.8s linear infinite;
    }

.ring:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
    border-top-color: #5e72e4;
    border-right-color: #5e72e4;
    animation-delay: 0s;
}

.ring:nth-child(2) {
    width: 44px;
    height: 44px;
    top: 8px;
    left: 8px;
    border-bottom-color: #825ee4;
    border-left-color: #825ee4;
    animation-delay: -0.6s;
    animation-direction: reverse;
}

.ring:nth-child(3) {
    width: 28px;
    height: 28px;
    top: 16px;
    left: 16px;
    border-top-color: #fb6340;
    border-right-color: #fb6340;
    animation-delay: -1.2s;
}

@keyframes ringSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================= */
/* متن */
/* ============================================= */
.public-loader-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0.5rem;
}

.public-loader-subtitle {
    font-size: 0.85rem;
    color: #8392a5;
    font-weight: 400;
}

/* ============================================= */
/* نوار پیشرفت */
/* ============================================= */
.public-loader-progress {
    width: 200px;
    height: 3px;
    background: #e2e5ea;
    border-radius: 10px;
    margin: 1.5rem auto 0;
    overflow: hidden;
}

.public-loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #5e72e4, #825ee4, #fb6340);
    border-radius: 10px;
    width: 0%;
    animation: progressFill 2.5s ease-in-out infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}




/* ============================================= */
/* کارت‌های خدمات */
/* ============================================= */



.service-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #edf0f5;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(94, 114, 228, 0.12);
        border-color: #d4daf5;
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        opacity: 0.08;
        transition: all 0.5s ease;
    }

    .service-card:hover::before {
        transform: scale(2.5);
        opacity: 0.15;
    }

.card-purple::before {
    background: #5e72e4;
}

.card-blue::before {
    background: #11cdef;
}

.card-green::before {
    background: #2dce89;
}

.card-orange::before {
    background: #fb6340;
}

.service-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}


/* کارت‌ها در ابتدا مخفی - انیمیشن متوقف */
.service-card.animate__animated {
    animation-play-state: paused;
    visibility: hidden;
}

    /* وقتی کلاس run اضافه شد، انیمیشن اجرا شود */
    .service-card.animate__animated.run {
        animation-play-state: running;
        visibility: visible;
    }

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

.icon-purple {
    background: linear-gradient(135deg, #5e72e4, #825ee4);
}

.icon-blue {
    background: linear-gradient(135deg, #11cdef, #1171ef);
}

.icon-green {
    background: linear-gradient(135deg, #2dce89, #2dcecc);
}

.icon-orange {
    background: linear-gradient(135deg, #fb6340, #fbb140);
}

.service-icon-wrap i {
    font-size: 1.8rem;
    color: #fff;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrap i {
    transform: scale(1.15);
}

.service-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #344767;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 0.85rem;
    color: #8392a5;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    min-height: 48px;
}


.service-card.animate-active.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.6s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
}


/* ============================================= */
/* تاخیرهای انیمیشن */
/* ============================================= */

.animate-delay-100.animate-active {
    animation-delay: 0.1s;
}

.animate-delay-200.animate-active {
    animation-delay: 0.2s;
}

.animate-delay-300.animate-active {
    animation-delay: 0.3s;
}

.animate-delay-400.animate-active {
    animation-delay: 0.4s;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

.animate-delay-200 {
    animation-delay: 0.2s;
}

.animate-delay-300 {
    animation-delay: 0.3s;
}

.animate-delay-400 {
    animation-delay: 0.4s;
}

@media (max-width: 768px) {
    .service-card {
        min-height: auto;
        padding: 1.5rem 1rem;
    }

    .service-icon-wrap {
        width: 55px;
        height: 55px;
        border-radius: 16px;
    }

        .service-icon-wrap i {
            font-size: 1.4rem;
        }

    .service-desc {
        min-height: auto;
    }
}


.toggle-btn {
    border: 2px solid #d8dce3;
    color: #8392a5;
    background-color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .toggle-btn:hover {
        border-color: #2dce89;
        color: #2dce89;
        background-color: #f4fdf8;
    }


    .toggle-btn.not-separated {
        border-color: #2dce89;
        color: #2dce89;
        background-color: #f0fdf5;
        box-shadow: 0 0 0 3px rgba(45, 206, 137, 0.1);
    }

        .toggle-btn.not-separated:hover {
            border-color: #28a96e;
            color: #28a96e;
            background-color: #e6fbf0;
        }


    .toggle-btn.separated {
        border-color: #f5365c;
        color: #f5365c;
        background-color: #fff0f3;
        box-shadow: 0 0 0 3px rgba(245, 54, 92, 0.1);
    }

        .toggle-btn.separated:hover {
            border-color: #e02040;
            color: #e02040;
            background-color: #ffe8ed;
        }




.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.captcha-image-wrap {
    position: relative;
    border: 2px solid #e2e5ea;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    flex: 1 1 auto;
    max-width: 200px;
    min-width: 140px;
}

    .captcha-image-wrap:hover {
        border-color: #5e72e4;
        box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.08);
    }

        .captcha-image-wrap:hover .captcha-refresh-hint {
            opacity: 1;
        }

.captcha-image {
    display: block;
    width: 100%;
    height: 52px;
    object-fit: fill;
}

.captcha-refresh-hint {
    position: absolute;
    inset: 0;
    background: rgba(94, 114, 228, 0.88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.captcha-input-wrap {
    flex: 1 1 auto;
    min-width: 100px;
}

.captcha-input {
    width: 100%;
    height: 52px;
    border: 2px solid #e2e5ea;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 8px;
    direction: ltr;
    color: #344767;
    transition: all 0.3s ease;
    padding: 0 0.5rem;
}

    .captcha-input:focus {
        outline: none;
        border-color: #5e72e4;
        box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.1);
    }

    .captcha-input::placeholder {
        letter-spacing: 2px;
        font-size: 0.9rem;
        font-weight: 400;
        color: #c4cad4;
    }

.captcha-refresh-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e2e5ea;
    background: #fff;
    color: #8392a5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    text-decoration: none;
}

    .captcha-refresh-btn:hover {
        border-color: #5e72e4;
        color: #5e72e4;
        background: #f4f5ff;
        transform: rotate(90deg);
        box-shadow: 0 2px 8px rgba(94, 114, 228, 0.15);
    }

@media (max-width: 576px) {
    .captcha-wrapper {
        gap: 0.5rem;
    }

    .captcha-image-wrap {
        max-width: 100%;
        min-width: 100px;
    }

    .captcha-image {
        height: 44px;
    }

    .captcha-input {
        height: 44px;
        font-size: 1.1rem;
        letter-spacing: 6px;
    }

    .captcha-refresh-btn {
        display: none;
    }
}
