        @keyframes gradient-shift {
            0% {
                background-position: 0% 50%
            }

            50% {
                background-position: 100% 50%
            }

            100% {
                background-position: 0% 50%
            }
        }

        @keyframes blob {

            0%,
            100% {
                border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
            }

            50% {
                border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
            }
        }

        @keyframes ticker {
            0% {
                transform: translateX(0)
            }

            100% {
                transform: translateX(-100%)
            }
        }

        @keyframes scale-in {
            0% {
                opacity: 0;
                transform: scale(0.9)
            }

            100% {
                opacity: 1;
                transform: scale(1)
            }
        }

        @keyframes glow-pulse {

            0%,
            100% {
                box-shadow: 0 0 20px var(--glow-color, rgba(249, 115, 22, 0.2))
            }

            50% {
                box-shadow: 0 0 40px var(--glow-color, rgba(249, 115, 22, 0.4))
            }
        }

        .animate-gradient {
            background-size: 300% 300%;
            animation: gradient-shift 8s ease infinite;
        }

        .animate-blob {
            animation: blob 8s ease-in-out infinite;
        }

        .animate-ticker {
            animation: ticker 25s linear infinite;
        }

        .animate-scale-in {
            animation: scale-in 0.6s ease-out forwards;
        }

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

        .glass-card {
            background: rgba(17, 25, 36, 0.5);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
        }

        .glass-heavy {
            background: rgba(12, 17, 26, 0.8);
            backdrop-filter: blur(32px);
            -webkit-backdrop-filter: blur(32px);
        }

        .neon-border {
            position: relative;
        }

        .neon-border::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(135deg, rgba(249, 115, 22, 0.5), transparent 50%, rgba(168, 85, 247, 0.5));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .text-gradient {
            background: linear-gradient(135deg, #f97316, #f59e0b, #f97316);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            background-size: 200% auto;
            animation: gradient-shift 4s linear infinite;
        }

        .masonry-item:nth-child(2n) {
            transform: translateY(20px);
        }

        .stat-glow {
            --glow-color: rgba(249, 115, 22, 0.15);
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }





        /* Animated background blobs */
        .blob {
            position: absolute;
            filter: blur(80px);
            opacity: 0.5;
            z-index: 0;
        }

        .blob-success {
            background: radial-gradient(circle, rgba(0, 255, 136, 0.4) 0%, transparent 70%);
            animation: blob 8s infinite;
        }

        .blob-error {
            background: radial-gradient(circle, rgba(255, 71, 87, 0.4) 0%, transparent 70%);
            animation: blob 8s infinite;
            animation-delay: -4s;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }

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

        ::-webkit-scrollbar-thumb {
            background: #252532;
            border-radius: 3px;
        }

        /* Gradient text */
        .text-gradient {
            background: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Card shine effect */
        .card-shine {
            position: relative;
            overflow: hidden;
        }

        .card-shine::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(to bottom right,
                    rgba(255, 255, 255, 0) 0%,
                    rgba(255, 255, 255, 0) 40%,
                    rgba(255, 255, 255, 0.03) 50%,
                    rgba(255, 255, 255, 0) 60%,
                    rgba(255, 255, 255, 0) 100%);
            transform: rotate(45deg);
            transition: all 0.5s;
        }

        .card-shine:hover::before {
            animation: shine 0.7s;
        }

        @keyframes shine {
            0% {
                left: -50%;
                top: -50%;
            }

            100% {
                left: 150%;
                top: 150%;
            }
        }

        /* Icon container glow */
        .icon-glow {
            position: relative;
        }

        .icon-glow::before {
            content: '';
            position: absolute;
            inset: -3px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--glow-color-1), var(--glow-color-2));
            opacity: 0;
            transition: opacity 0.3s;
            filter: blur(15px);
            z-index: -1;
        }

        .icon-glow.active::before {
            opacity: 0.6;
            animation: glow-pulse 2s ease-in-out infinite;
        }

        /* Button hover effect */
        .btn-glow {
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
        }

        .btn-glow::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;
        }

        .btn-glow:hover::before {
            left: 100%;
        }

        /* Detail items */
        .detail-item {
            position: relative;
            overflow: hidden;
        }

        .detail-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        }

        /* Confetti */
        .confetti-piece {
            position: absolute;
            width: 10px;
            height: 10px;
            opacity: 0;
        }

        .confetti-piece.active {
            animation: confetti-fall 3s ease-out forwards;
        }

        @keyframes confetti-fall {
            0% {
                opacity: 1;
                transform: translateY(-100px) rotate(0deg) scale(1);
            }

            100% {
                opacity: 0;
                transform: translateY(100vh) rotate(720deg) scale(0);
            }
        }

        /* Number counter animation */
        .counter {
            display: inline-block;
        }

        .check-icon {
            stroke-dasharray: 100;
            stroke-dashoffset: 100;
        }

        .check-icon.draw {
            animation: draw-check 0.6s ease-out forwards;
        }

        @keyframes draw-check {
            to {
                stroke-dashoffset: 0;
            }
        }


        .error-style {
            background-color: beige;
            text-align: center;
            line-height: 50px;
            border-radius: 10px;
            margin-bottom: 20px;
        }



        @keyframes float {

            0%,
            100% {
                transform: translateY(0)
            }

            50% {
                transform: translateY(-20px)
            }
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0
            }

            100% {
                background-position: 200% 0
            }
        }

        @keyframes marquee {
            0% {
                transform: translateX(0)
            }

            100% {
                transform: translateX(-50%)
            }
        }

        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px)
            }

            100% {
                opacity: 1;
                transform: translateY(0)
            }
        }

        @keyframes pulse-ring {
            0% {
                transform: scale(0.8);
                opacity: 1
            }

            100% {
                transform: scale(2);
                opacity: 0
            }
        }

        .animate-float {
            animation: float 6s ease-in-out infinite;
        }

        .animate-float-delayed {
            animation: float 6s ease-in-out 2s infinite;
        }

        .animate-shimmer {
            background-size: 200% 100%;
            animation: shimmer 3s ease-in-out infinite;
        }

        .animate-marquee {
            animation: marquee 30s linear infinite;
        }

        .animate-fadeInUp {
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .animate-pulse-ring {
            animation: pulse-ring 2s ease-out infinite;
        }

        .card-3d {
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .card-3d:hover {
            transform: rotateY(-5deg) rotateX(5deg);
        }

        .glass {
            background: rgba(17, 25, 36, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        .glow-orange {
            box-shadow: 0 0 40px rgba(249, 115, 22, 0.15), 0 0 80px rgba(249, 115, 22, 0.05);
        }

        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }






        /* =========================================
                    DASHBOARD FORMS
                    ========================================= */

        .form {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin-top: 25px;
        }


        /* Form Group */

        .form-group {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 9px;
        }


        /* Labels */

        .form-group label {
            font-size: 14px;
            font-weight: 600;
            color: #dfdfdf;
        }


        /* Inputs & Textareas */

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            box-sizing: border-box;

            border: 1px solid #ddd;
            border-radius: 10px;

            background: #fff;
            color: #333;

            font-family: inherit;
            font-size: 14px;

            padding: 13px 15px;

            outline: none;

            transition:
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease;
        }


        /* Input */

        .form-group input {
            height: 48px;
        }


        /* Textarea */

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
            line-height: 1.8;
        }


        /* Focus */

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            border-color: #777;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
        }


        /* Placeholder */

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #151414;
        }


        /* =========================================
   FILE INPUT
========================================= */

        .form-group input[type="file"] {
            height: auto;
            padding: 10px;
            cursor: pointer;
            background: #fafafa;
        }


        /* =========================================
   FORM ROW
========================================= */

        .form-row {
            width: 100%;

            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));

            gap: 20px;
        }


        /* =========================================
   IMAGE PREVIEW
========================================= */

        .image-preview {
            width: 100%;
            min-height: 180px;

            display: flex;
            align-items: center;
            justify-content: center;

            margin-top: 5px;

            border: 1px dashed #ccc;
            border-radius: 12px;

            background: #fafafa;

            overflow: hidden;
        }


        .image-preview:empty::before {
            content: "پیش‌نمایش تصویر";

            color: #aaa;
            font-size: 13px;
        }


        .image-preview img {
            display: block;

            width: 100%;
            max-height: 300px;

            object-fit: cover;

            border-radius: 10px;
        }





        /* =========================================
   SUBMIT BUTTON
========================================= */

        .submit {
            align-self: flex-start;

            min-width: 150px;
            height: 48px;

            padding: 0 25px;

            border: none;
            border-radius: 10px;

            background: oklab(44.778% 0.13032 -0.16969);
            color: #fff;

            font-family: inherit;
            font-size: 14px;
            font-weight: 600;

            cursor: pointer;

            transition:
                transform 0.2s ease,
                background 0.2s ease,
                box-shadow 0.2s ease;
        }


        .submit:hover {
            background: #0073df;

            box-shadow:
                0 5px 15px rgba(0, 0, 0, 0.12);

            transform: translateY(-1px);
        }


        .submit:active {
            transform: translateY(0);
        }


        /* =========================================
   PANEL
========================================= */

        .panel {
            width: 100%;
            box-sizing: border-box;

            background: #1c202f;

            border: 1px solid #242425;
            border-radius: 16px;
            padding: 25px;
        }


        .panelhead {
            margin-bottom: 10px;
        }


        .panelhead h2 {
            margin: 0;

            font-size: 20px;
            font-weight: 700;

            color: #e2dfdf;
        }


        .panelhead p {
            margin: 8px 0 0;

            color: #888;

            font-size: 13px;
            line-height: 1.8;
        }


        /* =========================================
   MOBILE
========================================= */

        @media (max-width: 768px) {

            .form-row {
                grid-template-columns: 1fr;
            }

            .panel {
                padding: 18px;
                border-radius: 12px;
            }

            .form {
                gap: 20px;
            }

            .submit {
                width: 100%;
            }

        }