body {
    background: linear-gradient(180deg, rgba(0, 80, 143, 1) 41%, #61b3f4 83%);
    background-attachment: fixed;
}

header {}

header>.list-page {
    background-color: #2700ff6b;
    padding: 6px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(6px);
}

header>.list-page>div.center-clock {
    position: absolute;
    left: 66px;
    top: 0;
    background-color: #6e00ff;
    color: white;
    direction: ltr;
    padding: 12px;
    margin-left: 3px;
    backdrop-filter: blur(6px);
    border-radius: 3px;
}

header>.list-page>div.center-clock>div {
    float: left;
    margin-left: 6px;
}

header>.list-page>ul {
    display: flex;
}

header>.list-page>ul>li {
    display: inline-flex;
    background-color: #0a4b78;
    margin-left: 6px;
    color: white;
    border-radius: 6px;
}

header>.list-page>ul>li>a {
    display: inline-block;
    width: 100%;
    padding: 6px;
}

.img-header {
    width: 69px;
    height: 69px;
    position: absolute;
    left: 0;
    top: -10px;
    z-index: 99;
}

a {
    text-decoration: none;
}

.background-ntn {
    background-color: #a10000;
}

.container-site {
    background-color: #e1e1e1;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 3px;
}

.slideshow-container {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 9;
    max-width: 99%;
    height: 266px;
    margin: auto;
    overflow: hidden;
    background: #ffffff70;
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 12px;
}

main {
    min-height: 100ch;
}

footer {
    background-color: #0a4b78;
    padding: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.mySlides {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}

.mySlides>img {
    width: 100%;
    height: 100%;
}

.mySlides>div.text {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 6px;
    color: white;
    font-weight: 500;
    background-color: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(6px);
}

.active-slide {
    opacity: 1;
    transform: translateX(0);
}

.search-image {
    background-image: url('/files/Site/images/bg-searche.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000000cc;
    background-blend-mode: multiply;
}

.-right-22 {
    right: -22px;
}

#toast {
    position: fixed;
    bottom: 4rem;
    right: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 50;
}

#toast.bg-green-500 {
    background-color: #10B981;
}

#toast.bg-red-500 {
    background-color: #EF4444;
}

#toast-message {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}


/* استایل‌های سفارشی برای هدر */

.header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.dropdown-menu {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mobile-menu-item {
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.3s ease forwards;
}

.mobile-menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.mobile-menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.mobile-menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

.mobile-menu-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* ریسپانسیو */

@media (max-width: 768px) {
    .header-mobile {
        padding: 1rem 0;
    }
    .logo-mobile {
        height: 2rem;
    }
    .nav-mobile {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    .nav-mobile.active {
        transform: translateY(0);
    }
}


/* افکت‌های انیمیشن */

.bounce-in {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* انیمیشن برای منوی کشویی */

.group:hover .group-hover\:visible {
    visibility: visible;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:scale-100 {
    transform: scale(1);
}


/* افکت hover برای دکمه‌ها */

.transform:hover {
    transform: translateY(-2px) scale(1.02);
}


/* شیشه‌ای شدن */

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}


/* انیمیشن loading */

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}


/* scroll bar سفارشی */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
}


/* انیمیشن ورود */

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideInFromTop 0.5s ease-out;
}