@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Open Sans", serif;
    font-style: normal;
    font-size: 14px;
    color: #000;
}

/* login */
.login_container a{text-decoration: none;}
.mt-1{margin-top:5px}
.text-center{text-align: center}
.login_container {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100%;
    background: url(../images/login_bg.png) no-repeat top right;
    background-size: cover;
    position: relative;
    min-height: 550px;
}

.logo_container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    background-color: rgb(231 248 255 / 80%);
    width: 100%;
    height: 100%;
    justify-content: center;
}

.cag_logo {
    max-width: 280px;
}

.cag_logo .logo {
    width: 200px;
}

.login_text {
    margin: 25px 0 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo_hi {
    font-size: 34px;
    color: #774745;
    font-weight: 400;
}

.tagline {
    font-size: 24px;
    color: #000;
    font-weight: 500;
    margin: 8px 0px 0;
    max-width: 450px;
}

.logo_divider {
    margin: 20px 0;
}

.gov_text {
    font-size: 30px;
    color: #7A4447;
    font-weight: 700;
}


.form_wrapper {
    width: 100%;
    height: 100%;
    max-width: 640px;
    margin-left: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form_wrapper .box {
    position: relative;
    width: 100%;
    padding: 60px 15px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 52px rgba(0, 0, 0, 0.09);
    max-width: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_wrapper .box form {
	width: 100%;
}

.welcome_text {
    display: flex;
    flex-direction: column;
    position: relative;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    margin: 0 auto 50px 0;
    width: 100%;
    text-align: center;
}

.welcome_text small {
    font-size: 27px;
}

.form_container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.form_container h2 {
    margin-bottom: 5px;
    color: #000;
    font-size: 36px;
    font-weight: 700;
}

.form_container .form_text {
    font-size: 18px;
    color: #969696;
    font-weight: 400;
    margin: 0 0 40px 0;
}

.form_group {
    position: relative;
    margin-bottom: 30px;
}

.form_group input,
.form_group input:is(:-webkit-autofill, :autofill) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    font-size: 18px;
    transition: border-color 0.3s ease;
    height: 60px;
    background-color: #fff;
}

.form_group input:-webkit-autofill,
.form_group input:-webkit-autofill:hover,
.form_group input:-webkit-autofill:focus,
.form_group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.form_group label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 18px;
    color: #9A9A9A;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.form_group input:focus {
    border-color: #084679;
    outline: none;
    color: #232323;
}

.form_group input:focus + label,
.form_group input:not(:placeholder-shown) + label {
    top: -9px;
    font-size: 14px;
    color: #084679;
    background-color: #fff;
    padding: 0 6px;
    border-radius: 4px;
    left: 10px;
    font-weight: 400;
}

.submit_button {
    display: block;
    width: 100%;
    height: 60px;
    padding: 10px;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    font-family: "Open Sans", serif;
    transition: all 0.3s ease;
    background: rgb(61,140,50);
    background: -moz-linear-gradient(180deg, rgba(61,140,50,1) 0%, rgba(71,175,58,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(61,140,50,1) 0%, rgba(71,175,58,1) 100%);
    background: linear-gradient(180deg, rgba(61,140,50,1) 0%, rgba(71,175,58,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3d8c32",endColorstr="#47af3a",GradientType=1);
}

.submit_button:hover {
    transition: all 0.3s ease;
    background: rgb(61,140,50);
    background: -moz-linear-gradient(180deg, rgba(61,140,50,1) 0%, rgba(61,140,50,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(61,140,50,1) 0%, rgba(61,140,50,1) 100%);
    background: linear-gradient(180deg, rgba(61,140,50,1) 0%, rgba(61,140,50,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3d8c32",endColorstr="#3d8c32",GradientType=1);
}
.d-flex{display: flex;}
.ml-1{margin-left:10px}
.password_hide, .password_show  {
    position: absolute;
    right: 17px;
    top: 18px;
    cursor: pointer;
}

.captchaBox input{border-radius:0; color:#fff; font-size: 18px !important;
        letter-spacing: 6px;
        font-style: italic;
        padding-left: 7px !important;
        background: url('../../images/captcha-img01.png');
        background-size: 100% 100%;
}
.captchaImgBox{
	background: #0055ab;
    width: 50px;
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}
.refreshCap img{width:20px; height:20px; filter: brightness(0) saturate(100%) invert(95%) sepia(100%) saturate(14%) hue-rotate(213deg) brightness(104%) contrast(104%);}
.password_hide {
    display: none;
}


@media (max-width: 1366px) {
    .cag_logo {
        max-width: 200px;
    }

    .login_text {
        margin: 15px 0 0 0;
    }

    .logo_hi {
        font-size: 30px;
    }

    .tagline {
        font-size: 20px;
        margin: 5px 0px 0;
        max-width: 400px;
    }

    .logo_divider {
        margin: 20px 0 10px;
    }

    .gov_text {
        font-size: 26px;
    }

    .welcome_text {
        font-size: 30px;
        margin: 0 auto 15px 0;
    }

    .welcome_text small {
        font-size: 22px;
    }

    .form_wrapper {
        max-width: 450px;
        padding: 30px;
    }

    .form_wrapper .box {
        padding: 25px 25px;
    }

    .form_container {
        max-width: 350px;
    }

    .form_container h2 {
        font-size: 30px;
    }

    .form_group {
        margin-bottom: 25px;
    }

    .form_container .form_text {
        font-size: 14px;
        margin: 0 0 30px 0;
    }

    .form_group input,
    .form_group input:is(:-webkit-autofill, :autofill) {
        font-size: 14px;
        height: 50px;
        padding: 8px 16px;
    }

    .form_group label {
        font-size: 14px;
        top: 16px;
    }

    .form_group input:focus + label, 
    .form_group input:not(:placeholder-shown) + label {
        font-size: 12px;
        top: -7px;
    }

    .password_hide, 
    .password_show {
        max-width: 20px;
        top: 15px;
    }

    .submit_button {
        height: 50px;
        font-size: 16px;
    }
}

@media (max-width: 1080px) { 
    .cag_logo {
        max-width: 200px;
    }

    .logo_hi {
        font-size: 22px;
    }

    .tagline {
        font-size: 17px;
        width: 100%;
    }

    .gov_text {
        font-size: 20px;
    }

    .form_wrapper {
        max-width: 380px;
        padding: 20px;
    }

    .welcome_text small {
        font-size: 18px;
    }

    .welcome_text {
        font-size: 28px;
    }

    .form_container h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) { 
    .cag_logo {
        max-width: 170px;
    }

    .form_wrapper,
    .logo_container {
        padding: 40px 20px;
    }
}

@media (max-width: 680px) {
    .login_container {
        flex-direction: column;
        height: 100%;
    }

    .welcome_text small {
        font-size: 16px;
    }

    .welcome_text {
        font-size: 24px;
    }

    .form_wrapper {
        margin-left: 0;
    }

    .form_wrapper .box {
        padding: 25px;
    }

    .form_container .form_text {
        margin: 0 0 20px 0;
    }
}
  