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

        body {
            font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
            background: linear-gradient(180deg, #000000 0%, #000000 100%);
            color: #ffffff;
            overflow-x: hidden;
            display: block;
            padding: 20px;
        }

        .logo {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            padding: 20px;
            width: 100%;
        }

        .logo a {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo img {
            width: 200px;
            height: auto;
            margin: auto;
        }

        .logo span {
            color: #ffffff;
            font-size: 26px;
            font-weight: 700;
        }

        .login-container {
            margin: 20px auto 100px;
            max-width: 450px;
            background: #211e03;
            border-radius: 20px;
            padding: 30px;
            position: relative;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .login-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            border-radius: 30px;
        }

        .login-container h2 {
            font-size: clamp(24px, 3vw, 26px);
            color: #ffffff;
            text-align: center;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-group label {
            font-size: clamp(14px, 2vw, 15px);
            color: #ffffff;
            margin-bottom: 8px;
            display: none;
            font-weight: 500;
        }

        .form-group input {
            width: 100%;
            height: 44px;
            padding: 12px 16px 12px 40px;
            border: 1px solid #000000;
            border-radius: 15px;
            font-size: clamp(14px, 2vw, 15px);
            color: #ffffff;
            background: #000000;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #000000;
            box-shadow: 0 0 5px rgba(0, 109, 119, 0.3);
        }

        .form-group .input-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            fill: #fcd00d;
        }

        .form-group .error {
            font-size: clamp(12px, 1.8vw, 13px);
            color: #d32f2f;
            margin-top: 5px;
            display: none;
        }

        .form-group .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            width: 24px;
            height: 24px;
            fill: #fcd00d;
            transition: fill 0.3s ease;
        }

        .form-group .password-toggle:hover {
            fill: #fcd00d;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 20px;
            font-size: clamp(14px, 2vw, 15px);
            color: #ffffff;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            accent-color: #fcd00d;
            cursor: pointer;
        }

        .remember-me label {
            cursor: pointer;
            display: inline;
        }

        .login-container button {
            width: 100%;
            padding: 15px;
            background: #fcd00d;
            color: #000000;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: clamp(14px, 2vw, 16px);
            font-weight: 600;
            transition: background 0.3s ease;
        }

        .login-container button:hover:not(:disabled) {
            background: #fcd00d;
        }

        .login-container button:disabled {
            background: #b0bec5;
            cursor: not-allowed;
        }

        .links {
            text-align: center;
            margin-top: 20px;
            font-size: clamp(14px, 2vw, 15px);
            color: #ffffff;
        }

        .links a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 600;
            margin: 0 5px;
        }

        .links a:hover {
            text-decoration: underline;
        }

        .preloader {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .preloader .dots {
            display: flex;
            gap: 8px;
        }

        .preloader .dot {
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            animation: pulse 1.2s ease-in-out infinite;
        }

        .preloader .dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .preloader .dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes pulse {
            0% {
                transform: scale(0.8);
                opacity: 0.5;
            }
            50% {
                transform: scale(1.2);
                opacity: 1;
            }
            100% {
                transform: scale(0.8);
                opacity: 0.5;
            }
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: #ffffff;
            border-radius: 10px;
            padding: 20px;
            width: 350px;
            max-width: 90%;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            animation: fadeIn 0.3s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .modal-content svg {
            width: 40px;
            height: 40px;
            margin-bottom: 10px;
        }

        .modal-content.success svg {
            fill: #0C9946;
            animation: scaleCheck 0.3s ease-in-out;
        }

        .modal-content.error svg {
            fill: #d32f2f;
            animation: scaleCross 0.3s ease-in-out;
        }

        @keyframes scaleCheck {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        @keyframes scaleCross {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }

        .modal-content h3 {
            font-size: clamp(18px, 2.5vw, 20px);
            color: #0a2540;
            margin-bottom: 10px;
        }

        .modal-content p {
            font-size: clamp(14px, 2vw, 15px);
            color: #aaa;
            margin-bottom: 10px;
        }

        .modal-content button {
            padding: 13px 16px;
            background: #0C9946;
            color: #fff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: clamp(14px, 2vw, 15px);
            font-weight: 600;
            transition: background 0.3s ease;
        }

        .modal-content button:hover {
            background: #aaa;
        }

        @media (max-width: 768px) {
                    body {
                            padding: 80px 17px;
                        }
            .logo img {
                width: 200px;
                height: auto;
            }

            .logo span {
                font-size: 22px;
            }

            .login-container {
                max-width: 95%;
                padding: px;
            }

            .form-group input {
                height: 50px;
                padding: 10px 14px 10px 36px;
                font-size: 14px;
            }

            .remember-me {
                font-size: 14px;
            }

            .remember-me input[type="checkbox"] {
                width: 16px;
                height: 16px;
            }

            .login-container button {
                padding: 18px;
                font-size: 14px;
            }

            .modal-content {
                width: 300px;
                padding: 15px;
            }

            .modal-content svg {
                width: 30px;
                height: 30px;
            }

            .modal-content h3 {
                font-size: 18px;
            }

            .modal-content button {
                padding: 13px 12px;
                font-size: 14px;
            }
        }

        @media (max-width: 375px) {
            body {
                    padding: 60px 17px;
                }

            .login-container {
                padding: px;
            }

            .login-container h2 {
                font-size: 22px;
            }

            .form-group input {
                height: 50px;
                padding: 15px 12px 15px 34px;
                font-size: 13px;
            }

            .form-group .error {
                font-size: 12px;
            }

            .remember-me {
                font-size: 13px;
            }

            .remember-me input[type="checkbox"] {
                width: 14px;
                height: 14px;
            }

            .login-container button {
                padding: 18px;
                font-size: 13px;
            }

            .links {
                font-size: 13px;
            }

            .modal-content {
                width: 280px;
                padding: 12px;
            }

            .modal-content h3 {
                font-size: 16px;
            }

            .modal-content button {
                padding: 13px 12px;
                font-size: 14px;
            }
        }