/* user_login.php 专用样式 */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #020617 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
}
.container {
    width: 100%;
    max-width: 420px;
    padding: 24px 16px;
    box-sizing: border-box;
}
.card {
    background-color: #020617;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.45);
    padding: 26px 26px 22px;
}
.title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}
.subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 18px;
}
.form-group {
    margin-bottom: 14px;
}
label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #e5e7eb;
}
input[type="email"],
input[type="password"],
input[type="text"].captcha-input {
    width: 100%;
    padding: 9px 11px;
    border-radius: 7px;
    border: 1px solid #4b5563;
    background-color: #020617;
    color: #e5e7eb;
    font-size: 14px;
    box-sizing: border-box;
}
input:focus,
input.captcha-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}
.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}
.captcha-input {
    flex: 1;
}
.captcha-image {
    cursor: pointer;
    border: 1px solid #4b5563;
    border-radius: 7px;
    height: 40px;
    background-color: #020617;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.captcha-image:hover {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}
.btn-primary {
    width: 100%;
    padding: 9px 0;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 35%, #7c3aed 100%);
    color: #f9fafb;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.55);
    transition: opacity 0.18s, transform 0.05s, box-shadow 0.18s;
}
.btn-primary:hover {
    opacity: 0.94;
    box-shadow: 0 18px 40px rgba(30, 64, 175, 0.7);
}
.btn-primary:active {
    transform: scale(0.99);
}
.alert-error {
    background-color: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.8);
    color: #fecaca;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 12px;
}
.link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #a5b4fc;
    text-decoration: none;
}
.link:hover {
    text-decoration: underline;
}

