/* user_register.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 40%, #020617 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
}
.container {
    width: 100%;
    max-width: 960px;
    padding: 24px 16px;
    box-sizing: border-box;
}
.panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
}
.panel-left {
    padding: 26px 26px 22px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,0.2), transparent 55%),
        radial-gradient(circle at bottom right, rgba(236,72,153,0.18), transparent 55%),
        #020617;
}
.panel-right {
    padding: 26px 22px 22px;
    background: radial-gradient(circle at top, rgba(15,118,110,0.35), transparent 60%), #020617;
    border-left: 1px solid rgba(30, 64, 175, 0.25);
}
.title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}
.subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 18px;
}
.form-group {
    margin-bottom: 12px;
}
label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #e5e7eb;
}
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 7px;
    border: 1px solid #4b5563;
    background-color: #020617;
    color: #e5e7eb;
    font-size: 14px;
    box-sizing: border-box;
}
input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}
.row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.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 {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 10px;
}
.alert-error {
    background-color: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.8);
    color: #fecaca;
}
.alert-success {
    background-color: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.9);
    color: #bbf7d0;
}
.hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 3px;
}
.right-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.right-item {
    margin-bottom: 8px;
    font-size: 13px;
    color: #e5e7eb;
}
.right-item span {
    color: #a5b4fc;
}
.link-login {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #a5b4fc;
    text-decoration: none;
}
.link-login:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .panel {
        grid-template-columns: minmax(0, 1fr);
    }
    .panel-right {
        display: none;
    }
}

