/* 登录页面专用样式 */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.db-connection-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}
.db-connection-error-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 15px;
}

.login-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #303133;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #606266;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: border-color 0.2s;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #409eff;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: #409eff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: #66b1ff;
}

#errorMessage {
    margin-bottom: 1rem;
    font-size: 14px;
    border-radius: 4px;
    display: none;
    padding: 0.75rem;
    background-color: #fef0f0;
    color: #f56c6c;
    border: 1px solid #fde2e2;
} 