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

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    animation: fadeInUp 0.6s ease;
}

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

.login-card .brand {
    text-align: center;
    margin-bottom: 32px;
}

.login-card .brand-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-card .brand-tag {
    font-size: 12px;
    letter-spacing: 4px;
    color: #9ca3af;
    margin-top: 8px;
}

.login-card .brand-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    margin: 16px auto 0;
    border-radius: 2px;
}

.login-card .form-group {
    margin-bottom: 20px;
}

.login-card .form-label {
    display: block;
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 8px;
    font-weight: 500;
}

.login-card .form-input {
    width: 100%;
    height: 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    color: #1f2937;
    transition: all 0.3s ease;
    background: #fafafa;
}

.login-card .form-input:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.login-card .form-input::placeholder {
    color: #9ca3af;
}

.login-card .code-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-card .code-row .form-input {
    flex: 1;
    height: 44px;
}

.login-card .code-row img {
    width: 110px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-card .code-row img:hover {
    transform: scale(1.02);
}

.login-card .btn-login {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-card .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

.login-card .link-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}

.login-card .link-text a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.login-card .link-text a:hover {
    text-decoration: underline;
}

.login-card .back-home {
    text-align: center;
    margin-top: 16px;
}

.login-card .back-home a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.login-card .back-home a:hover {
    color: #6366f1;
}

.login-card .back-home a:hover {
    text-decoration: none;
}

.form {
    display: none;
}
