* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: 'Noto Sans SC', 'Microsoft YaHei', Arial, sans-serif; }
.login-container { display: flex; height: 100vh; }
.login-left {
    flex: 1; background-color: #f5f7fa; display: flex; flex-direction: column;
    align-items: center; justify-content: center; padding: 60px; position: relative;
}
.login-left::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(180deg, rgba(245,247,250,0) 0%, #f5f7fa 100%);
}
.page-logo {
    position: absolute; top: 30px; left: 40px; font-size: 20px; font-weight: 500;
    color: #303133; letter-spacing: 1px;
}
.login-left-content { text-align: center; }
.login-left img { max-width: 500px; max-height: 500px; object-fit: contain; }
.login-right {
    flex: 1; background: transparent; display: flex; align-items: center; justify-content: center;
    padding: 60px; position: relative;
}
.login-form-wrapper { position: relative; z-index: 1; width: 100%; max-width: 420px; }
.login-form-card {
    background: white; border-radius: 12px; padding: 40px; box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.login-title { font-size: 24px; font-weight: 500; color: #303133; margin-bottom: 8px; text-align: center; }
.login-subtitle { color: #909399; text-align: center; margin-bottom: 24px; font-size: 14px; }
.btn-login { width: 100%; height: 40px; background: #409eff; border: none; border-radius: 6px; color: #fff; font-size: 16px; cursor: pointer; margin-top: 10px; }
.btn-login:hover { background: #66b1ff; }
.login-footer { text-align: center; margin-top: 20px; color: #909399; font-size: 12px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: #606266; margin-bottom: 6px; }
.form-control { width: 100%; height: 40px; padding: 0 15px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 14px; outline: none; }
.form-control:focus { border-color: #409eff; }
.captcha-row { display: flex; gap: 8px; align-items: center; }
.captcha-row img { height: 40px; border-radius: 6px; cursor: pointer; }
#getCodeBtn {
    background: #409eff !important;
    color: #fff !important;
    border: none !important;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 1;
    border-radius: 6px;
    box-sizing: border-box;
}
.alert { padding: 10px 15px; border-radius: 6px; margin-bottom: 18px; font-size: 13px; }
.alert-error { background: #fef0f0; color: #f56c6c; }
.alert-success { background: #f0f9eb; color: #67c23a; }
.btn-sm { padding: 8px 12px; font-size: 12px; border-radius: 4px; border: 1px solid #dcdfe6; background: #fff; color: #606266; cursor: pointer; white-space: nowrap; }
.btn-primary { background: #409eff; color: #fff; border: none; }
.btn-primary:hover { background: #66b1ff; }
.custom-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.custom-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.custom-modal-text {
    text-align: center;
    font-size: 14px;
    color: #303133;
    margin-bottom: 16px;
}
.custom-modal-btn {
    padding: 8px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #fff;
    color: #606266;
    cursor: pointer;
    font-size: 13px;
}

#timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 40px;
    padding: 0 12px;
    background: #409eff !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    line-height: 40px;
    white-space: nowrap;
    box-sizing: border-box;
}
