/* static/style.css */
* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}
.auth-card {
    background: white;
    border-radius: 12px;
    padding: 30px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.auth-card h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 24px;
    color: #1e293b;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: #f9fafb;
}
.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
}
.radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.radio-group label {
    font-weight: normal;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.captcha-row {
    display: flex;
    gap: 10px;
}
.captcha-row input {
    flex: 1;
}
.captcha-row img {
    height: 44px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}
button[type="submit"]:hover { background: #1d4ed8; }
button[type="submit"]:disabled { background: #94a3b8; cursor: not-allowed; }
.auth-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
}
.auth-link a { color: #2563eb; text-decoration: none; }
.auth-link a:hover { text-decoration: underline; }
.error-msg {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 14px;
    text-align: center;
}
