* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8fb;
    color: #111;
}

.register-page {
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.register-card {
    width: 100%;
    max-width: 440px;

    background: #fff;

    padding: 28px;

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .08);
}

.jkwi-logo {
    display: block;

    width: 72px;
    height: 72px;

    object-fit: contain;

    margin: 0 auto 12px;
}

h1 {
    text-align: center;

    font-size: 23px;

    margin-bottom: 5px;
}

.subtitle {
    text-align: center;

    color: #777;

    font-size: 13px;

    margin-bottom: 22px;
}

.account-types {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 6px;

    margin-bottom: 20px;
}

.account-type {
    border: 1px solid #dfe5e9;

    background: #fff;

    color: #555;

    padding: 10px 4px;

    border-radius: 7px;

    font-size: 12px;

    cursor: pointer;
}

.account-type.active {
    background: #009EF3;

    border-color: #009EF3;

    color: #fff;
}

.name-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 10px;
}

.field {
    margin-bottom: 13px;
}

.field label {
    display: block;

    font-size: 12px;

    font-weight: 600;

    margin-bottom: 5px;
}

.field input {
    width: 100%;

    height: 42px;

    padding: 0 11px;

    border: 1px solid #dce2e6;

    border-radius: 7px;

    font-size: 14px;

    outline: none;
}

.field input:focus {
    border-color: #009EF3;

    box-shadow:
        0 0 0 2px
        rgba(0, 158, 243, .10);
}

#registerButton {
    width: 100%;

    height: 44px;

    border: 0;

    border-radius: 7px;

    background: #009EF3;

    color: #fff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;
}

#registerButton:disabled {
    opacity: .6;
}

.message {
    display: none;

    padding: 9px;

    margin-bottom: 12px;

    border-radius: 7px;

    font-size: 12px;
}

.message.success {
    display: block;

    background: #eaf8ef;

    color: #16733a;
}

.message.error {
    display: block;

    background: #fff0f0;

    color: #b42318;
}

.login-link {
    text-align: center;

    margin-top: 18px;

    font-size: 12px;

    color: #777;
}

.login-link a {
    color: #009EF3;

    font-weight: 600;

    text-decoration: none;
}


/* ==========================================
   PHONE
========================================== */

@media (max-width: 480px) {

    .register-page {
        align-items: flex-start;

        padding: 15px 10px;
    }

    .register-card {
        padding: 22px 17px;

        border-radius: 13px;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, .06);
    }

    .jkwi-logo {
        width: 60px;
        height: 60px;
    }

    h1 {
        font-size: 21px;
    }

    .name-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .field input {
        height: 44px;

        font-size: 16px;
    }

    #registerButton {
        height: 46px;

        font-size: 15px;
    }

}