/* =========================
   GENERAL RESET
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7f6;
    color: #333;
}


a{
    text-decoration: none;
}


/* =========================
   MAIN REGISTER SECTION
========================= */

.register-section{

    min-height: 100vh;

    display: grid;

    grid-template-columns: 1fr 1.2fr;

}


/* =========================
   LEFT BANNER
========================= */

.register-banner{

    position: relative;

    min-height: 100vh;

    background:
        url("images/login-bg.jpg")
        center/cover no-repeat;

    color: #fff;

}


.banner-overlay{

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:

        linear-gradient(

            135deg,

            rgba(5, 74, 33, 0.96),

            rgba(11, 93, 42, 0.84)

        );

}


.banner-content{

    position: relative;

    z-index: 2;

    min-height: 100vh;

    padding: 50px 70px;

    display: flex;

    flex-direction: column;

}


/* =========================
   BACK HOME
========================= */

.back-home{

    color: #fff;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    width: fit-content;

    transition: 0.3s;

}


.back-home:hover{

    transform: translateX(-5px);

}


/* =========================
   BRAND
========================= */

.brand{

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 60px;

}


.brand img{

    width: 75px;

    height: 75px;

    object-fit: contain;

}


.brand h1{

    font-size: 30px;

    letter-spacing: 1px;

}


.brand p{

    margin-top: 4px;

    font-size: 15px;

    opacity: 0.9;

}


.brand span{

    font-size: 13px;

    opacity: 0.8;

}


/* =========================
   WELCOME TEXT
========================= */

.welcome-text{

    margin-top: auto;

    margin-bottom: auto;

    max-width: 500px;

}


.welcome-text h2{

    font-size: 45px;

    margin-bottom: 20px;

}


.welcome-text > p{

    font-size: 16px;

    line-height: 1.8;

    opacity: 0.9;

}


/* =========================
   BENEFITS
========================= */

.benefit-list{

    margin-top: 30px;

}


.benefit-item{

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

}


.benefit-item i{

    font-size: 18px;

}


/* =========================
   FOOTER
========================= */

.banner-footer{

    font-size: 13px;

    opacity: 0.7;

}


/* =========================
   REGISTER CONTAINER
========================= */

.register-container{

    background: #fff;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 60px 40px;

}


.register-box{

    width: 100%;

    max-width: 650px;

}


/* =========================
   MOBILE LOGO
========================= */

.mobile-logo{

    display: none;

    text-align: center;

    margin-bottom: 30px;

}


.mobile-logo img{

    width: 65px;

    margin-bottom: 10px;

}


.mobile-logo h2{

    color: #0b5d2a;

    margin-bottom: 5px;

}


.mobile-logo p{

    color: #777;

    font-size: 14px;

}


/* =========================
   REGISTER HEADER
========================= */

.register-header{

    margin-bottom: 30px;

}


.register-header span{

    color: #0b5d2a;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;

}


.register-header h2{

    font-size: 36px;

    margin: 10px 0;

    color: #222;

}


.register-header p{

    color: #777;

}


/* =========================
   FORM ROW
========================= */

.form-row{

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

}


/* =========================
   FORM GROUP
========================= */

.form-group{

    margin-bottom: 22px;

}


.form-group label{

    display: block;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;

}


/* =========================
   INPUT BOX
========================= */

.input-box{

    position: relative;

    display: flex;

    align-items: center;

}


.input-box > i{

    position: absolute;

    left: 15px;

    color: #0b5d2a;

    z-index: 2;

}


.input-box input,
.input-box select{

    width: 100%;

    height: 52px;

    padding: 0 45px;

    border: 1px solid #ddd;

    border-radius: 6px;

    outline: none;

    font-size: 14px;

    background: #fff;

    transition: 0.3s;

}


.input-box select{

    cursor: pointer;

    appearance: none;

}


.input-box input:focus,
.input-box select:focus{

    border-color: #0b5d2a;

    box-shadow:

        0 0 0 3px

        rgba(11, 93, 42, 0.08);

}


/* =========================
   PASSWORD TOGGLE
========================= */

.password-box input{

    padding-right: 50px;

}


.toggle-password{

    position: absolute;

    right: 12px;

    border: none;

    background: transparent;

    cursor: pointer;

    color: #777;

    font-size: 16px;

}


/* =========================
   TERMS
========================= */

.terms{

    margin: 5px 0 25px;

}


.terms label{

    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 13px;

    color: #666;

    line-height: 1.6;

    cursor: pointer;

}


.terms input{

    margin-top: 4px;

    accent-color: #0b5d2a;

}


.terms a{

    color: #0b5d2a;

    font-weight: 600;

}


.terms a:hover{

    text-decoration: underline;

}


/* =========================
   REGISTER BUTTON
========================= */

.register-btn{

    width: 100%;

    border: none;

    padding: 16px;

    border-radius: 6px;

    background: #0b5d2a;

    color: #fff;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

}


.register-btn i{

    margin-left: 8px;

}


.register-btn:hover{

    background: #083f1d;

    transform: translateY(-2px);

}


/* =========================
   LOGIN LINK
========================= */

.login-link{

    text-align: center;

    margin-top: 30px;

}


.login-link p{

    color: #777;

    margin-bottom: 8px;

}


.login-link a{

    color: #0b5d2a;

    font-weight: bold;

}


.login-link a:hover{

    text-decoration: underline;

}


/* =========================
   HELP
========================= */

.register-help{

    text-align: center;

    margin-top: 30px;

    font-size: 13px;

    color: #888;

}


.register-help a{

    color: #0b5d2a;

    font-weight: bold;

}


/* =========================
   TABLET RESPONSIVENESS
========================= */

@media(max-width: 992px){

    .register-section{

        grid-template-columns: 1fr;

    }


    .register-banner{

        display: none;

    }


    .register-container{

        padding: 50px 30px;

    }


    .mobile-logo{

        display: block;

    }

}


/* =========================
   MOBILE RESPONSIVENESS
========================= */

@media(max-width: 768px){

    .register-container{

        min-height: 100vh;

        padding: 40px 25px;

    }


    .register-header{

        text-align: center;

    }


    .register-header h2{

        font-size: 30px;

    }


    .form-row{

        grid-template-columns: 1fr;

        gap: 0;

    }

}


/* =========================
   SMALL MOBILE
========================= */

@media(max-width: 480px){

    .register-container{

        padding: 30px 20px;

    }


    .register-header h2{

        font-size: 27px;

    }


    .register-header p{

        font-size: 14px;

    }

}