﻿@import url(fontiran.css);
* {
    font-family: "Peyda" !important;
}

/* slider.creare */

input[type="file"]::file-selector-button {
    background-color: rgba(0, 255, 136, 0.2);
    color: #00e676;
    border-radius: 8px;
    border: none;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}
input[type="file"]::file-selector-button:hover {
    background-color: rgba(0, 255, 136, 0.3);
}

/* slider.edit */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: #1e2a2e;
    border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: #00e676;
    border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #00cc6a;
}

/* dashboard */

/* Dropdown transition & styles */
.dropdown-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.dropdown-submenu.open {
    max-height: 300px;
    transition: max-height 0.4s ease-in;
}
.rotate-chevron {
    transition: transform 0.2s ease;
}
.rotate-chevron.rotated {
    transform: rotate(180deg);
}

/* home */
.slide {
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active .slide-content-text {
    animation: fadeInRight 0.6s ease-out forwards;
}

.slide.active .slide-image {
    animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* اندیکاتورها */
.indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    opacity: 0.8;
    transform: scaleY(1.3);
}

@keyframes pulse-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.6));
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

html {
    scroll-behavior: smooth;
}
.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
