@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 100;
    src: url('../font/danathin.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 200;
    src: url('../font/danaextralight.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 300;
    src: url('../font/danalight.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 400;
    src: url('../font/danaregular.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 500;
    src: url('../font/danamedium.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 600;
    src: url('../font/danademibold.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 700;
    src: url('../font/danabold.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 800;
    src: url('../font/danaextrabold.ttf') format('truetype');
}

@font-face {
    font-family: 'Dana';
    font-style: normal;
    font-weight: 900;
    src: url('../font/danablack.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: 'Dana' !important;
    direction: rtl;
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1,button,pre{
    font-family: Dana !important;
}
a{
    text-decoration: none;
}
 .dropzone-wrapper {
     transition: all 0.3s ease;
     cursor: pointer;
     border: 2px dashed #dee2e6;
 }

.dropzone-wrapper:hover {
    border-color: #696cff;
    background-color: #f8f9ff !important;
}

.bg-gradient-navy {
    background: linear-gradient(135deg, #f3f4f4 0%, #146ab5 100%);
}
table tbody td{
    max-width: 150px;
}
.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked {
    background-color: #696cff;
    border-color: #696cff;
}
.text-gold {
    color: #FFB800;
}
.text-warning-100{
    color: #ffedbe;
}
.txt_sorme{
    color: #464970;
}
.btn-sorme{
    color: #ffedbe;
    background: #464970;
    padding: 5px 15px;
    border-radius: 5px;
}
.btn-sorme:hover{
    background: #676b98;
}

/**/
/* انیمیشن برای هدر */
.bg-gradient-navy {
    animation: fadeSlideUp 0.5s ease-out forwards;
}

/* انیمیشن کارت‌های آمار - اصلاح شده */
.row:first-of-type  {
    animation: fadeScaleUp 0.4s ease-out forwards;
    opacity: 0;
    transform: scale(0.95);
}
.row:first-of-type :nth-child(1) { animation-delay: 0.05s; }
.row:first-of-type :nth-child(2) { animation-delay: 0.1s; }
.row:first-of-type :nth-child(3) { animation-delay: 0.15s; }
.row:first-of-type :nth-child(4) { animation-delay: 0.2s; }

/* انیمیشن hover روی کارت‌های آمار */
.row:first-of-type  .card {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.row:first-of-type  .card:hover {
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* انیمیشن کارت فیلتر */
.card.mb-4:first-of-type {
    animation: slideFromTop 0.45s ease-out forwards;
}

/* انیمیشن کارت اصلی لیست تیکت‌ها */
.card:has(.card-header) {
    animation: fadeSlideUp 0.5s ease-out 0.1s forwards;
    opacity: 0;
}

/* انیمیشن ردیف‌های جدول */
.table tbody tr {
    animation: fadeInRow 0.3s ease-out forwards;
    opacity: 0;
}
.table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.table tbody tr:nth-child(5) { animation-delay: 0.25s; }
.table tbody tr:nth-child(6) { animation-delay: 0.3s; }
.table tbody tr:nth-child(7) { animation-delay: 0.35s; }
.table tbody tr:nth-child(8) { animation-delay: 0.4s; }
.table tbody tr:nth-child(9) { animation-delay: 0.45s; }
.table tbody tr:nth-child(10) { animation-delay: 0.5s; }

/* انیمیشن hover روی ردیف جدول */
table tbody tr {
    transition: all 0.2s ease;
border-bottom: 1px solid #e9e9e9;
}
.table tbody tr:hover {
    background-color: rgba(245, 176, 66, 0.05) !important;
    transform: translateX(3px);
    transition: all 0.2s ease;
}

/* انیمیشن ورود آیکون‌ها */
.avatar {
    transition: all 0.3s ease;
}
.row:first-of-type  .card:hover .avatar {
    transform: scale(1.08) rotate(3deg);
    transition: all 0.3s ease;
}

/* انیمیشن اعداد آمار */
.row:first-of-type  .card h3 {
    animation: countUp 0.6s ease-out forwards;
}

/* انیمیشن دکمه‌ها */
.btn-primary, .btn-outline-secondary {
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover, .btn-outline-secondary:hover {
    transform: translateY(-2px);
    transition: all 0.25s ease;
}
.btn-primary:active, .btn-outline-secondary:active {
    transform: translateY(1px);
    transition: all 0.05s ease;
}

/* انیمیشن ریپل برای دکمه‌ها */
.btn-primary::after, .btn-outline-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}
.btn-primary:active::after, .btn-outline-secondary:active::after {
    width: 200%;
    height: 200%;
}

/* انیمیشن فوکوس فیلدهای جستجو */
.input-group input {
    transition: all 0.2s ease;
}
.input-group input:focus {
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* انیمیشن پاگینیشن */
.pagination .page-link {
    transition: all 0.2s ease;
}
.pagination .page-link:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}
.pagination .page-item.active .page-link {
    animation: pulse 0.4s ease-out;
}

/* انیمیشن بنر و هشدارها */
.badge {
    transition: all 0.2s ease;
}
.badge:hover {
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* انیمیشن لینک‌ها */
.txt_sorme {
    transition: all 0.2s ease;
    display: inline-block;
}
.txt_sorme:hover {
    transform: translateX(3px);
    transition: all 0.2s ease;
}

/* انیمیشن دکمه‌های عملیات */
.btn-icon {
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.btn-icon:hover {
    transform: translateY(-3px) scale(1.05);
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
.btn-icon:active {
    transform: translateY(1px);
    transition: all 0.05s ease;
}

/* انیمیشن اسکرول نرم */
html {
    scroll-behavior: smooth;
}

/* انیمیشن محو شدن و نمایان شدن هنگام فیلتر */
.table tbody tr {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* انیمیشن شمارنده (Counter Animation) */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* انیمیشن fade و slide از بالا */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* انیمیشن fade و scale */
@keyframes fadeScaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* انیمیشن slide از بالا */
@keyframes slideFromTop {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* انیمیشن fade برای ردیف‌های جدول */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateX(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* انیمیشن pulse برای آیتم فعال */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* افکت shimmer هنگام hover روی کارت‌ها */
.row:first-of-type  .card {
    position: relative;
    overflow: hidden;
}
.row:first-of-type  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.row:first-of-type  .card:hover::before {
    left: 100%;
}

.bg-gradient2 {
    background: #0a0f1f !important;
}
.modal-backdrop{
    display: none;
}
