/* @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap'); 
body { font-family: 'Vazirmatn', sans-serif; }*/
/*@import url('https://v1.fontapi.ir/css/VazirFD');*/

/*@font-face {*/
/*    font-family: 'Vazir';*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    src: url(/appx/global/fonts/vazir/Vazir-Regular.eot);*/
/*    src: url('/appx/global/fonts/vazir/Vazir-Regular?#iefix') format('embedded-opentype'),url(/appx/global/fonts/vazir/Vazir-Regular.woff2) format('woff2'),url(/appx/global/fonts/vazir/Vazir-Regular.woff) format('woff'),url(/appx/global/fonts/vazir/Vazir-Regular.ttf) format('truetype');*/
/*    font-display: swap*/
/*}*/

@font-face {
    font-family: "Estedad";
    src: url("fonts/Estedad-Regular.woff2") format("woff2"),
         url("fonts/Estedad-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("fonts/Estedad-Bold.woff2") format("woff2"),
         url("fonts/Estedad-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {font-family: 'Estedad', sans-serif;}
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.progress-ring {
    transform: rotate(-90deg);
}
.progress-ring-circle {
    transition: stroke-dashoffset 0.3s;
}
input[type="tel"]::-webkit-outer-spin-button,
input[type="tel"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="tel"] {
    -moz-appearance: textfield;
}

/* استایل بهتر برای اعداد */
input[type="tel"] {
    letter-spacing: 2px;
}

@media (min-width: 650px) {
    #app
    {
        max-width: 650px;
        margin-right: auto;
        margin-left: auto;
    }
    
}

/* Preloader Overlay */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF7101 0%, #FF8D40 100%); /*linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);*/
    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* محتوای Preloader */
.preloader-content {
    text-align: center;
    color: white;
}

/* لوگو */
.logo-container {
    /*width: 120px;*/
    height: 120px;
    margin: 0 auto 30px;
    /*background: rgba(255, 255, 255, 1);*/ /* 0.15 */
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);*/
    animation: pulse 2s ease-in-out infinite;
}

.logo-svg {
    width: 80px;
    height: 80px;
}

/* انیمیشن مسیر لوگو */
.logo-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawPath 2s ease-in-out infinite;
}

.logo-circle {
    transform-origin: center;
    animation: bounce 1s ease-in-out infinite;
}

.logo-body-1,
.logo-body-2 {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawBody 2s ease-in-out infinite;
}

/* انیمیشن‌های لوگو */
@keyframes drawPath {
    0%, 100% {
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

@keyframes drawBody {
    0%, 100% {
        stroke-dashoffset: 50;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);*/
    }
    50% {
        transform: scale(1.05);
        /*box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);*/
    }
}

/* نام برنامه */
.app-name {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* نوار بارگذاری */
.loading-bar-container {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 10px;
    animation: loading 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes loading {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    50% {
        width: 50%;
        margin-left: 25%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

/* متن بارگذاری */
.loading-text {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* دات‌های متحرک */
.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .logo-container {
        width: 100px;
        height: 100px;
    }
    
    .logo-svg {
        width: 60px;
        height: 60px;
    }
    
    .app-name {
        font-size: 36px;
    }
    
    .loading-bar-container {
        width: 200px;
    }
}

/* انیمیشن Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* انیمیشن Scale In */
@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-scale-in {
    animation: scaleIn 0.3s ease-out;
}

/* Pulse آهسته */
@keyframes pulseSlow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.animate-pulse-slow {
    animation: pulseSlow 2s ease-in-out infinite;
}

/* اعداد با فونت یکسان */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* مخفی کردن اسکرول‌بار */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* انیمیشن Bounce In */
@keyframes bounceIn {
    0% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, 5px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 0);
    }
}

.animate-bounce-in {
    animation: bounceIn 0.5s ease-out;
}

/* Sticky header با فاصله مناسب */
.sticky {
    position: sticky;
}
/* انیمیشن Toast */
.toast-enter-active {
    animation: slideDown 0.3s ease-out;
}

.toast-leave-active {
    animation: slideUp 0.3s ease-in;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -100px);
        opacity: 0;
    }
}

.bg-oxford {
    background-color: #1e293b;
}