* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #1f2a44 0%, #2f3a4b 45%, #4a5568 100%);
}

.login-card {
    width: 360px;
    background: #fff;
    border-radius: 10px;
    padding: 36px 32px 30px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    animation: rise 0.35s ease;
}

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

.login-title {
    margin: 0;
    text-align: center;
    font-size: 24px;
    letter-spacing: 4px;
    color: #2f3a4b;
}

.login-subtitle {
    margin: 8px 0 26px;
    text-align: center;
    color: #8a93a3;
    font-size: 13px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #4a5568;
}

.field input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d5d9e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
    outline: none;
    border-color: #2f6fd0;
    box-shadow: 0 0 0 3px rgba(47, 111, 208, 0.15);
}

.login-button {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #3a6fb0, #2f3a4b);
    color: #fff;
    font-size: 16px;
    letter-spacing: 6px;
    cursor: pointer;
    transition: filter 0.2s;
}

.login-button:hover {
    filter: brightness(1.1);
}

.error {
    margin: 14px 0 0;
    color: #c0392b;
    font-size: 13px;
    text-align: center;
}

.notice {
    margin: 14px 0 0;
    color: #1e8e3e;
    font-size: 13px;
    text-align: center;
}
