/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
}


/* =====================================================
   REGISTER PAGE
===================================================== */

.register-page {
    width: 100%;
    min-height: 100vh;

    display: flex;

    background: #ffffff;
}


/* =====================================================
   LEFT / REGISTER FORM
===================================================== */

.register-form-wrapper {
    width: 65%;
    min-height: 100vh;

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

    padding: 50px;
}


.register-box {
    width: 100%;
    max-width: 430px;
}


/* =====================================================
   LOGO
===================================================== */

.register-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 35px;
}

.register-logo img {
    width: auto;
    height: 42px;

    object-fit: contain;
}


/* =====================================================
   TITLE
===================================================== */

.register-box h1 {
    margin: 0 0 8px;

    text-align: center;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;

    color: #292929;
}


.register-subtitle {
    margin: 0 0 30px;

    text-align: center;

    font-size: 14px;

    color: #888;
}


/* =====================================================
   FORM
===================================================== */

.register-form {
    width: 100%;
}


.form-group {
    margin-bottom: 16px;
}


.form-control {
    width: 100%;
    height: 46px;

    padding: 8px 10px;

    border: none;
    border-bottom: 1px solid #d0d0d0;

    outline: none;

    background: transparent;

    color: #333;

    font-size: 13px;
}


.form-control::placeholder {
    color: #b5b5b5;
}


.form-control:focus {
    border-bottom-color: #ed4346;
}


/* =====================================================
   GENDER
===================================================== */

.gender-group {
    display: flex;

    gap: 25px;

    margin: 20px 0;
}


.gender-option {
    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 13px;

    color: #555;

    cursor: pointer;
}


.gender-option input {
    accent-color: #ed4346;
}


/* =====================================================
   CAPTCHA
===================================================== */

.captcha {
    margin-top: 20px;
    margin-bottom: 20px;
}


.captcha > label {
    display: block;

    margin-bottom: 10px;

    font-size: 13px;

    color: #555;
}


.captcha-row {
    display: flex;
    align-items: center;

    gap: 12px;
}


.captcha-row strong {
    font-size: 14px;

    color: #292929;

    white-space: nowrap;
}


.captcha-input {
    width: 100px;
    height: 40px;

    padding: 5px 10px;

    border: 1px solid #d0d0d0;
    border-radius: 5px;

    outline: none;

    font-size: 13px;
}


.captcha-input:focus {
    border-color: #ed4346;
}


/* =====================================================
   PRIVACY
===================================================== */

.privacy {
    margin: 20px 0;
}


.privacy label {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    font-size: 11px;
    line-height: 1.5;

    color: #666;

    cursor: pointer;
}


.privacy input {
    flex-shrink: 0;

    margin-top: 2px;

    accent-color: #ed4346;
}


.privacy a {
    color: #ed4346;

    text-decoration: none;
}


.privacy a:hover {
    text-decoration: underline;
}


/* =====================================================
   REGISTER BUTTON
===================================================== */

.btn-register {
    width: 100%;
    height: 44px;

    margin-top: 10px;

    border: none;
    border-radius: 6px;

    background: #ed4346;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}


.btn-register:hover {
    background: #d93639;
}


/* =====================================================
   LOGIN LINK
===================================================== */

.login-text {
    margin-top: 20px;

    text-align: center;

    font-size: 13px;

    color: #777;
}


.login-text a {
    color: #ed4346;

    text-decoration: none;

    font-weight: 500;
}


.login-text a:hover {
    text-decoration: underline;
}


/* =====================================================
   RIGHT / COVER
===================================================== */

.register-cover {
    width: 35%;
    min-height: 100vh;

    background-image: url("../../../images/idnextleader_new_cover_register.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .register-form-wrapper {
        width: 55%;

        padding: 40px;
    }

    .register-cover {
        width: 45%;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .register-page {
        flex-direction: column;
    }


    .register-form-wrapper {
        width: 100%;
        min-height: auto;

        padding: 45px 25px;
    }


    .register-cover {
        width: 100%;
        min-height: 300px;

        order: -1;

        background-position: center;
    }


    .register-box {
        max-width: 500px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .register-form-wrapper {
        padding: 35px 20px;
    }


    .register-cover {
        min-height: 250px;
    }


    .register-logo {
        margin-bottom: 25px;
    }


    .register-logo img {
        height: 35px;
    }


    .register-box h1 {
        font-size: 28px;
    }


    .register-subtitle {
        font-size: 13px;
    }

}