/* 背景 */
body {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fbff 45%, #e6f0ff 100%);
}

/* 版面 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* 卡片 */
.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.logo-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.login-header p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* 表单 */
.login-form {
    margin-top: 8px;
}

/* 栏位 */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* input */
.form-group input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

/* placeholder */
.form-group input::placeholder {
    color: #9ca3af;
}

/* focus */
.form-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

/* 按钮 */
.login-btn {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* 错误讯息 */
.alert-error {
    margin-top: 16px;
    padding: 12px;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 14px;
    text-align: center;
}

/* 手机 */
@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .login-header h1 {
        font-size: 22px;
    }

    .logo-circle {
        width: 58px;
        height: 58px;
    }
}