* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background-color: #535353;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0;
}

/* 响应式缩放 */
@media (min-width: 1440px) { html { zoom: 1.3; } }
@media (max-width: 1439px) and (min-width: 1024px) { html { zoom: 1.15; } }
@media (max-width: 1023px) { html { zoom: 1.0; } }

.container {
    text-align: center;
    width: 100%;
    max-width: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.result-label {
    background: #48bb78;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
}

.form-group {
    margin-bottom: 16px;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.remember-password {
    display: flex;
    align-items: center;
}

.checkbox {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.remember-password label {
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.forgot-password {
    text-align: right;
}

.forgot-password a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.message {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
    transition: all 0.3s ease;
}

.message.success {
    background: #48bb78;
    color: white;
}

.message.error {
    background: #f56565;
    color: white;
}

.message.info {
    background: #4299e1;
    color: white;
}

.result-label.success {
    background: #48bb78;
    color: white;
}

.result-label.error {
    background: #f56565;
    color: white;
}

button {
    background: #667eea;
    border: none;
    padding: 16px 40px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

button:hover {
    background: #5a67d8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
}