/* Register page — extends login.css TDYP auth layout */
.register-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f5ffff 0%, #ffffff 40%, #e8f7f7 100%);
    padding: 24px 20px 48px;
}

.register-card {
    max-width: 520px;
    text-align: left;
}

.register-card .login-title,
.register-card .login-subtitle {
    text-align: center;
}

.form-row-register {
    display: flex;
    gap: 12px;
}

.form-row-register .form-group-login {
    flex: 1;
}

.register-checkboxes {
    margin: 8px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.45;
    cursor: pointer;
}

.register-check input {
    margin-top: 3px;
    accent-color: #4508DB;
    flex-shrink: 0;
}

.register-check a {
    color: #4508DB;
    font-weight: 600;
    text-decoration: none;
}

.register-check a:hover {
    text-decoration: underline;
}

.password-hint {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 6px;
}

.phone-prefix-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
}

.phone-prefix-wrap:focus-within {
    border-color: #4508DB;
    box-shadow: 0 0 0 3px rgba(69, 8, 219, 0.12);
    background: #fff;
}

.phone-prefix-wrap .prefix {
    padding: 14px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    background: #e2e8f0;
    border-right: 1px solid #cbd5e1;
    white-space: nowrap;
}

.phone-prefix-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #334155;
    outline: none;
}

@media (max-width: 768px) {
    .form-row-register {
        flex-direction: column;
        gap: 0;
    }
}
