* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f1f3f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.register-wrap {
    width: 100%;
    max-width: 460px;
}
.logo-block {
    text-align: center;
    margin-bottom: 28px;
}
.logo-icon {
    width: 52px;
    height: 52px;
    background: #5a6dd0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}
.logo-name {
    font-size: 22px;
    font-weight: 800;
    color: #2a2f3d;
}
.card {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    padding: 32px;
}
.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2a2f3d;
    margin-bottom: 4px;
}
.card-sub {
    font-size: 13px;
    color: #aab0c0;
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-group {
    margin-bottom: 14px;
}
label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5a6070;
    margin-bottom: 5px;
}
input,
select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    font-size: 14px;
    color: #2a2f3d;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
    background: #fff;
}
input:focus,
select:focus {
    border-color: #5a6dd0;
    box-shadow: 0 0 0 3px rgba(90, 109, 208, 0.1);
}
.error-msg {
    color: #e85a5a;
    font-size: 11px;
    margin-top: 3px;
}
.btn-register {
    width: 100%;
    padding: 11px;
    background: #5a6dd0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
    font-family: inherit;
    margin-top: 6px;
}
.btn-register:hover {
    opacity: 0.88;
}
.login-link {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #aab0c0;
}
.login-link a {
    color: #5a6dd0;
    text-decoration: none;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — REGISTER
   ═══════════════════════════════════════════ */

@media (max-width: 520px) {
    .register-wrap { padding: 14px; }
    .card { padding: 22px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .logo-icon { width: 44px; height: 44px; font-size: 18px; }
    .logo-name { font-size: 18px; }
    .card-title { font-size: 16px; }
}

@media (max-width: 360px) {
    .card { padding: 16px 12px; }
    .btn-register { font-size: 13px; }
}
