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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #23244a 0%, #272953 60%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .login-container {
            background: #23244a;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(39, 41, 83, 0.25);
            width: 100%;
            max-width: 420px;
            padding: 40px 32px;
            position: relative;
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #38bdf8, #764ba2, #23244a);
        }

        .logo {
            text-align: center;
            margin-bottom: 32px;
        }


        .logo h1 {
            font-size: 28px;
            font-weight: 700;
            color: #E5C852;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .logo .subtitle {
            color: #7dd3fc;
            font-size: 16px;
            font-weight: 400;
        }

        .welcome-text {
            text-align: center;
            margin-bottom: 32px;
        }


        .welcome-text h2 {
            font-size: 24px;
            color: #38bdf8;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .welcome-text p {
            color: #c7f9ff;
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 24px;
        }


        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #E5C852;
            font-weight: 500;
            font-size: 14px;
        }

        .input-wrapper {
            position: relative;
        }


        .input-wrapper input {
            width: 100%;
            padding: 16px 48px 16px 16px;
            border: 2px solid #3f4165;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: #272953;
            color: #fff;
        }

        .input-wrapper input:focus {
            outline: none;
            border-color: #38bdf8;
            background: #23244a;
            box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
            color: #fff;
        }


        .input-wrapper .icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #7dd3fc;
            font-size: 18px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .input-wrapper .icon:hover {
            color: #38bdf8;
        }

        .password-toggle {
            cursor: pointer;
        }


        .login-button {
            width: 100%;
            padding: 16px;
            background: linear-gradient(90deg, #38bdf8 0%, #764ba2 100%);
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
        }

        .login-button:active {
            transform: translateY(0);
        }

        .forgot-password {
            text-align: center;
            margin-bottom: 32px;
        }


        .forgot-password a {
            color: #38bdf8;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .forgot-password a:hover {
            color: #7dd3fc;
            text-decoration: underline;
        }

        .divider {
            text-align: center;
            margin: 24px 0;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(56, 189, 248, 0.2);
            transform: translateY(-50%);
        }


        .divider span {
            background: #23244a;
            padding: 0 16px;
            color: #7dd3fc;
            font-size: 14px;
            position: relative;
            z-index: 1;
        }


        .register-link {
            text-align: center;
            padding: 16px;
            background: #272953;
            border-radius: 12px;
            border: 2px solid #3f4165;
        }

        .register-link p {
            color: #E5C852;
            font-size: 14px;
            margin-bottom: 8px;
        }

        .register-link a {
            color: #38bdf8;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .register-link a:hover {
            color: #7dd3fc;
        }

        .remember-me {
            display: flex;
            align-items: center;
            margin-bottom: 24px;
        }


        .remember-me input[type="checkbox"] {
            margin-right: 8px;
            width: 16px;
            height: 16px;
            accent-color: #38bdf8;
        }


        .remember-me label {
            color: #E5C852;
            font-size: 14px;
            cursor: pointer;
        }


        .security-badge {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 24px;
            color: #7dd3fc;
            font-size: 12px;
        }

        .security-badge::before {
            content: '🔒';
            margin-right: 6px;
        }

        @media (max-width: 480px) {
            .login-container {
                padding: 32px 24px;
                margin: 10px;
            }

            .logo h1 {
                font-size: 24px;
            }

            .welcome-text h2 {
                font-size: 20px;
            }
        }


        .input-wrapper.error input {
            border-color: #e53e3e;
            background: #4b1e1e;
            color: #fff;
        }

        .input-wrapper.success input {
            border-color: #10b981;
            background: #1e3a2a;
            color: #fff;
        }

        .login-button.loading {
            opacity: 0.8;
            cursor: not-allowed;
        }

        .login-button.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        .logo-image {
            max-width: 200px;
            height: auto;
            width: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .logo-image:hover {
            transform: scale(1.05);
        }

        .error {
            color: red;
            font-weight: 500;
        }