/* ==========================================
   REGISTER PAGE
========================================== */

.register-page {
    background: #f5f5f5;

    min-height: 70vh;

    padding: 60px 0 80px;
}


/* ==========================================
   WRAPPER
========================================== */

.register-wrapper {
    width: 100%;

    max-width: 650px;

    margin: 0 auto;

    background: #fff;

    padding: 45px;

    border: 1px solid #e5e5e5;

    border-radius: 8px;
}


/* ==========================================
   HEADER
========================================== */

.register-header {
    text-align: center;

    margin-bottom: 30px;
}

.register-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 12px;

    color: #0D5CB6;

    font-size: 13px;

    font-weight: 700;
}

.register-header h1 {
    margin: 0 0 12px;

    color: #222;

    font-size: 30px;

    line-height: 1.3;
}

.register-header p {
    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   ERRORS
========================================== */

.register-errors {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 25px;

    padding: 14px 16px;

    background: #fff1f1;

    border: 1px solid #efc2c2;

    border-radius: 4px;

    color: #b42323;

    font-size: 13px;
}

.register-errors i {
    margin-top: 2px;

    flex-shrink: 0;
}

.register-errors p {
    margin: 0 0 5px;
}

.register-errors p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   FORM
========================================== */

.register-form {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.register-form__group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.register-form__group:nth-child(3),
.register-form__group:nth-child(4),
.register-form__group:nth-child(5),
.register-form__group:nth-child(6) {
    grid-column: 1 / -1;
}

.register-form__group label {
    color: #222;

    font-size: 13px;

    font-weight: 600;
}

.register-form__group input {
    width: 100%;

    padding: 13px 14px;

    background: #fff;

    border: 1px solid #dcdcdc;

    border-radius: 4px;

    color: #222;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: border-color 0.2s ease;
}

.register-form__group input:focus {
    border-color: #0D5CB6;
}

.register-form__group input::placeholder {
    color: #999;
}

.register-form__group small {
    color: #777;

    font-size: 12px;
}


/* ==========================================
   BUTTON
========================================== */

.register-form__button {
    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    width: 100%;

    padding: 14px 20px;

    margin-top: 5px;

    background: #0D5CB6;

    border: 0;

    border-radius: 4px;

    color: #fff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease;
}

.register-form__button:hover {
    background: #08418D;
}


/* ==========================================
   LOGIN LINK
========================================== */

.register-login {
    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid #e5e5e5;

    text-align: center;

    color: #666;

    font-size: 13px;
}

.register-login a {
    color: #0D5CB6;

    font-weight: 700;

    text-decoration: none;
}

.register-login a:hover {
    text-decoration: underline;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .register-page {
        padding: 40px 0 60px;
    }

    .register-wrapper {
        padding: 30px 25px;
    }

    .register-header h1 {
        font-size: 26px;
    }

    .register-form {
        grid-template-columns: 1fr;
    }

    .register-form__group:nth-child(3),
    .register-form__group:nth-child(4),
    .register-form__group:nth-child(5),
    .register-form__group:nth-child(6) {
        grid-column: auto;
    }

    .register-form__button {
        grid-column: auto;
    }

}