        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            min-height: 100vh;
            background: linear-gradient(145deg, #fef3c7 0%, #fde68a 50%, #f59e0b 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            position: relative;
            margin: 0;
        }
        body::before {
            content: "🍯";
            position: fixed;
            font-size: 300px;
            opacity: 0.07;
            right: -80px;
            bottom: -100px;
            transform: rotate(-12deg);
            pointer-events: none;
            z-index: 0;
        }
        body::after {
            content: "🐝";
            position: fixed;
            font-size: 200px;
            opacity: 0.05;
            left: -60px;
            top: -80px;
            transform: rotate(25deg);
            pointer-events: none;
            z-index: 0;
        }

        .login-container {
            width: 100%;
            max-width: 460px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 48px;
            padding: 44px 36px 32px;
            box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(245, 158, 11, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.5);
            position: relative;
            z-index: 2;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
        }
        .login-container:hover {
            transform: translateY(-6px);
            box-shadow: 0 45px 80px rgba(0, 0, 0, 0.15);
        }
        .brand-section {
            text-align: center;
            margin-bottom: 34px;
        }
        .brand-icon {
            font-size: 62px;
            display: block;
            margin-bottom: 6px;
            filter: drop-shadow(0 6px 14px rgba(245, 158, 11, 0.25));
            animation: float 3.2s ease-in-out infinite;
        }
        @keyframes float {
            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }
            50% {
                transform: translateY(-10px) rotate(2deg);
            }
        }

        .brand-title {
            font-size: 34px;
            font-weight: 900;
            background: linear-gradient(135deg, #f59e0b, #b45309);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: 1px;
            line-height: 1.2;
        }
        .brand-sub {
            display: block;
            color: #78716c;
            font-size: 15px;
            margin-top: 6px;
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        .brand-sub i {
            color: #f59e0b;
            margin: 0 6px;
        }
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .form-group {
            position: relative;
        }
        .form-group .input-icon {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: #a8a29e;
            font-size: 18px;
            transition: color 0.3s ease;
            pointer-events: none;
        }
        .form-group input {
            width: 100%;
            padding: 17px 52px 17px 18px;
            border: 2px solid #e7e5e4;
            border-radius: 18px;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 15px;
            background: #fafaf9;
            transition: all 0.3s ease;
            color: #1e293b;
            direction: rtl;
        }
        .form-group input:focus {
            outline: none;
            border-color: #f59e0b;
            background: #ffffff;
            box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.12);
        }
        .form-group input::placeholder {
            color: #a8a29e;
            font-weight: 400;
        }
        .form-group input:focus+.input-icon {
            color: #f59e0b;
        }
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
            padding: 4px 0 2px;
            flex-wrap: wrap;
            gap: 8px;
        }
        .form-options label {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #57534e;
            cursor: pointer;
            font-weight: 500;
        }
        .form-options label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #f59e0b;
            cursor: pointer;
            border-radius: 4px;
        }
        .form-options a {
            color: #f59e0b;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }
        .form-options a:hover {
            color: #b45309;
            text-decoration: underline;
        }
        .btn-login {
            padding: 17px 20px;
            background: linear-gradient(145deg, #f59e0b, #d97706);
            color: #fff;
            border: none;
            border-radius: 18px;
            font-family: 'Vazirmatn', sans-serif;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            box-shadow: 0 10px 28px rgba(245, 158, 11, 0.25);
            margin-top: 6px;
            letter-spacing: 0.5px;
        }
        .btn-login:hover {
            transform: translateY(-3px);
            box-shadow: 0 16px 40px rgba(245, 158, 11, 0.35);
            background: linear-gradient(145deg, #f59e0b, #b45309);
        }
        .btn-login:active {
            transform: translateY(0px) scale(0.98);
        }
        .btn-login i {
            font-size: 20px;
        }

        .login-hint {
            text-align: center;
            font-size: 13px;
            color: #78716c;
            margin-top: 2px;
        }
        .login-hint i {
            color: #f59e0b;
            margin: 0 4px;
        }
        .error-message {
            background: #fef2f2;
            border: 1px solid #fca5a5;
            color: #dc2626;
            padding: 12px 18px;
            border-radius: 14px;
            font-size: 13px;
            display: none;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }
        .error-message.show {
            display: flex;
        }
        .error-message i {
            font-size: 20px;
        }
        .footer-links {
            margin-top: 30px;
            padding-top: 26px;
            border-top: 2px solid #f1f0ee;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        .footer-links .links-row {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 6px 18px;
        }
        .footer-links a {
            color: #57534e;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.3s ease;

            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .footer-links a:hover {
            color: #f59e0b;
            background: #fef3c7;
        }
        .footer-links .highlight-link {
            color: #f59e0b;
            font-weight: 700;
        }
        .footer-links .highlight-link:hover {
            color: #b45309;
            background: #fde68a;
        }

        .footer-divider {
            display: flex;
            align-items: center;
            gap: 14px;
            color: #a8a29e;
            font-size: 13px;
            font-weight: 500;
        }
        .footer-divider::before,
        .footer-divider::after {
            content: "";
            flex: 1;
            height: 1.5px;
            background: #e7e5e4;
        }
        .footer-keywords {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 6px 14px;
            margin-top: 2px;
        }
        .footer-keywords span {
            font-size: 11px;
            color: #a8a29e;
            background: #fafaf9;
            padding: 3px 16px;
            border-radius: 50px;
            border: 1px solid #e7e5e4;
            font-weight: 500;
        }

        .copyright {
            text-align: center;
            font-size: 12px;
            color: #a8a29e;
            margin-top: 4px;
            direction: ltr;
            letter-spacing: 0.3px;
        }
        .copyright span {
            margin: 0 4px;
        }
        @media (max-width: 520px) {
            .login-container {
                padding: 30px 22px 26px;
                border-radius: 32px;
            }
            .brand-title {
                font-size: 28px;
            }
            .brand-icon {
                font-size: 48px;
            }
            .form-group input {
                padding: 15px 46px 15px 14px;
                font-size: 14px;
            }
            .btn-login {
                font-size: 16px;
                padding: 15px;
            }
            .form-options {
                font-size: 13px;
            }
            .footer-links .links-row {
                gap: 4px 12px;
            }
            .footer-links a {
                font-size: 12px;
                padding: 3px 8px;
            }
        }

        @media (max-width: 380px) {
            .login-container {
                padding: 22px 16px 20px;
                border-radius: 28px;
            }
            .brand-title {
                font-size: 24px;
            }
            .form-group input {
                padding: 13px 40px 13px 12px;
                font-size: 13px;
            }
            .btn-login {
                font-size: 15px;
                padding: 13px;
            }
        }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }