﻿
        :root {
            --primary-blue: #0066cc;
            --primary-blue-dark: #004d99;
            --accent-cyan: #00d4ff;
            --success-green: #00ff88;
            --error-red: #ff4444;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --bg-dark: #0a0e27;
            --bg-panel: rgba(15, 23, 42, 0.95);
            --border-color: rgba(0, 212, 255, 0.2);
        }

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

        body {
            margin: 0;
            min-height: 100vh;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            color: var(--text-primary);
            display: flex;
            justify-content: center;
            align-items: center;
            background: url('../../BG Video/background2.png') no-repeat center center fixed;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            /* ?芸???皜脫? */
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* ??閬?撅日?摨佗?霈??舀皜 */
            background: linear-gradient(135deg, rgba(10, 14, 39, 0.75) 0%, rgba(15, 23, 42, 0.7) 100%);
            z-index: 0;
        }

        .login-container {
            position: relative;
            width: 100%;
            max-width: 440px;
            z-index: 1;
            padding: 2rem;
        }

        .login-card {
            background: var(--bg-panel);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 3rem 2.5rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                        0 0 0 1px rgba(0, 212, 255, 0.1),
                        inset 0 1px 0 rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            animation: fadeInUp 0.6s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .logo-section {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .logo-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
        }

        .logo-title {
            font-size: 28px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            letter-spacing: -0.5px;
        }

        .logo-subtitle {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 400;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.75rem;
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            letter-spacing: 0.3px;
        }

        .input-wrapper {
            position: relative;
        }

        .input-field {
            width: 100%;
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.05);
            border: 1.5px solid var(--border-color);
            border-radius: 10px;
            color: var(--text-primary);
            font-family: inherit;
            font-size: 15px;
            transition: all 0.3s ease;
            /* 蝘駁 text-transform: uppercase嚗???憪之撠神 */
        }

        .input-field::placeholder {
            color: rgba(255, 255, 255, 0.3);
            font-weight: 400;
        }

        .input-field:focus {
            outline: none;
            border-color: var(--accent-cyan);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1),
                        0 0 20px rgba(0, 212, 255, 0.2);
        }

        .input-field:hover:not(:focus) {
            border-color: rgba(0, 212, 255, 0.4);
        }

        .login-btn {
            width: 100%;
            padding: 14px 24px;
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
            border: none;
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.5rem;
            box-shadow: 0 4px 16px rgba(0, 102, 204, 0.4);
            position: relative;
            overflow: hidden;
        }

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

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

        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 24px rgba(0, 102, 204, 0.5);
        }

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

        .error-alert {
            position: fixed;
            top: -100px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, rgba(255, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
            padding: 1rem 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            animation: alertSlideDown 0.5s ease-out forwards;
            font-size: 14px;
            max-width: 90%;
            text-align: center;
            box-shadow: 0 8px 32px rgba(255, 68, 68, 0.4);
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

        @keyframes alertSlideDown {
            to {
                top: 24px;
            }
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 2rem 0;
            color: var(--text-secondary);
            font-size: 13px;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border-color);
        }

        .divider span {
            padding: 0 1rem;
        }

        .login-link {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .login-link a {
            color: var(--accent-cyan);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        .login-link a:hover {
            color: var(--success-green);
            text-decoration: underline;
        }

        .footer-text {
            text-align: center;
            margin-top: 2rem;
            font-size: 12px;
            color: var(--text-secondary);
        }

        @media (max-width: 480px) {
            .login-container {
                padding: 1rem;
            }

            .login-card {
                padding: 2rem 1.5rem;
            }

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

            .input-field {
                padding: 12px 14px;
                font-size: 14px;
            }

            .login-btn {
                padding: 12px 20px;
                font-size: 15px;
            }
        }

        @media (max-width: 360px) {
            .login-card {
                padding: 1.5rem 1rem;
            }

            .form-group {
                margin-bottom: 1.25rem;
            }
        }

        /* 瘛餃?銝鈭凝憒???? */
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .logo-icon {
            animation: float 3s ease-in-out infinite;
        }
    

.form-hint {
  margin-top: 0.5rem;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.forgot-row {
  text-align: right;
  margin: -0.5rem 0 1rem;
}

.forgot-row a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.forgot-row a:hover {
  color: var(--success-green);
  text-decoration: underline;
}

.success-box {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.35);
  color: #b7f7d3;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.error-box {
  background: rgba(255, 68, 68, 0.12);
  border: 1px solid rgba(255, 68, 68, 0.35);
  color: #ffb4b4;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}
