
.input-with-icon {
    position: relative;
}

.input-with-icon .form-control {
    padding-right: 2.25rem; /* reserve space for the icon (≈36px) */
}

.input-with-icon .field-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    pointer-events: none; /* keep for static icons */
}

#togglePassword.field-icon {
    pointer-events: auto; /* clickable eye */
    cursor: pointer;
}



/* Grid holding the four cards */
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    width: 100%;
    margin-top: 10px; /* sits just under the journal name */
}

/* center the cover image inside the left pane */
.left-panel .branding {
    width: 100%;
}

    .left-panel .branding > img {
        display: block;
        margin: 0 auto 12px; /* centers horizontally; keeps a little gap below */
        height: auto;
        /* optional: control size here instead of inline */
        /* width: 200px; max-width: 80%; */
    }


/* Single card */
.ql-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 11px;
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}

/* Texts */
.ql-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ql-title {
    /*font-weight: 700;*/
    font-size: 10px;
    line-height: 1.2;
    color: var(--brand-ink);
    white-space: nowrap;
}

/* Responsive: stack 1 per row on narrow screens */
@media (max-width: 540px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
}

.text-dang {
    color: red !important;
}

.loginBtn {
    background-color: rgba(20, 51, 82, 255);
    border: none;
    width: 165px;
    border-radius: 20px;
    height: 40px;
    color: white;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.group {
    margin-bottom: 8px !important;
}

.container1 i {
    position: relative;
    top: -32px;
    right: -33.5rem;
}

.field-validation-error {
    color: red;
    font-size: 13px;
    margin-left: 16px;
}

body {
    margin: 0;
    color: #143252;
    background: #f5f5f5;
    font: 500 16px/18px 'Open Sans',sans-serif;
    height: 100vh;
    background-color: #f8f9fa;
     font-family: "Montserrat";
   /* font-family: "Arial, sans-serif";*/
    min-height: 100vh;
}

*, :after, :before {
    box-sizing: border-box
}

.clearfix:after, .clearfix:before {
    content: '';
    display: table
}

.clearfix:after {
    clear: both;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

.main_Wrapper {
    margin: 2% 0%;
}

.logoImage {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1%;
}

.login-wrap {
    width: 100%;
    margin: auto;
    max-width: 513px;
    min-height: 540px;
    position: relative;
    /*background: url(https://raw.githubusercontent.com/khadkamhn/day-01-login-form/master/img/bg.jpg) no-repeat center;*/
    box-shadow: 0 12px 15px 0 rgba(0,0,0,.24),0 17px 50px 0 rgba(0,0,0,.19);
}

.login-html {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 50px 70px 25px 70px;
    /*background: rgba(40,57,101,.9);*/
    background: #cccccc;
}

    .login-html .sign-in-htm,
    .login-html .sign-up-htm {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        position: absolute;
        /*transform: rotateY(180deg);
        backface-visibility: hidden;*/
        transition: all .4s linear;
    }

    .login-html .sign-in,
    .login-html .sign-up,
    .login-form .group .check {
        display: none;
    }

    .login-html .tab,
    .login-form .group .label,
    .login-form .group .button {
        text-transform: uppercase;
    }

    .login-html .tab {
        font-size: 22px;
        margin-right: 15px;
        padding-bottom: 5px;
        margin: 0 15px 10px 0;
        display: inline-block;
        border-bottom: 2px solid transparent;
    }

    .login-html .sign-in:checked + .tab,
    .login-html .sign-up:checked + .tab {
        color: #143252;
        border-color: #143252;
    }

.login-form {
    min-height: 450px;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

    .login-form .group {
        margin-bottom: 15px;
    }

        .login-form .group .label,
        .login-form .group .input {
            width: 100%;
            color: #143252;
            display: block;
            text-align: inherit;
        }

        .login-form .group .button {
            width: 100%;
            color: #fff;
            display: block;
        }

        .login-form .group .button-group {
            width: 48%;
            color: #fff;
            display: block;
            margin-bottom: 15px;
            font-size: 12px;
        }

.alignLeft {
    float: left;
}

.alignRight {
    float: right;
}

.login-form .group .input,
.login-form .group .button {
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    /*background: rgba(255,255,255,.1);*/
    background: #eeeeee;
}

.login-form .group input[data-type="password"] {
    /*text-security: circle;
        -webkit-text-security: circle;*/
}

.login-form .group .label {
    color: #143252;
    font-size: 12px;
}

.login-form .group .button {
    /*background: #1161ee;*/
    background: #143252;
}

.login-form .group label .icon {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    position: relative;
    display: inline-block;
    /*background: rgba(255,255,255,.1);*/
    background: #fff;
}

    .login-form .group label .icon:before,
    .login-form .group label .icon:after {
        content: '';
        width: 10px;
        height: 2px;
        background: #143252;
        position: absolute;
        transition: all .2s ease-in-out 0s;
    }

    .login-form .group label .icon:before {
        left: 3px;
        width: 5px;
        bottom: 6px;
        transform: scale(0) rotate(0);
    }

    .login-form .group label .icon:after {
        top: 6px;
        right: 0;
        transform: scale(0) rotate(0);
    }

.login-form .group .check:checked + label {
    color: #143252;
}

    .login-form .group .check:checked + label .icon {
        /*background: #1161ee;*/
        background: #fff;
    }

        .login-form .group .check:checked + label .icon:before {
            transform: scale(1) rotate(45deg);
        }

        .login-form .group .check:checked + label .icon:after {
            transform: scale(1) rotate(-45deg);
        }

.login-html .sign-in:checked + .tab + .sign-up + .tab + .login-form .sign-in-htm {
    transform: rotate(0);
}

.login-html .sign-up:checked + .tab + .login-form .sign-up-htm {
    transform: rotate(0);
}

.hr {
    height: 2px;
    margin: 30px 0 20px 0;
    background: rgba(255,255,255,.2);
}

.foot-lnk {
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .login-form .group .input,
    .login-form .group .button {
        padding: 12px !important;
    }
}

.foot-lnk a {
    font-weight: bold;
}

/* Center the card full-viewport */
.auth-center {
    min-height: 50vh;
    padding: 8px; /* was 16px */
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
}

.login-container {
    display: flex; /* make children behave side by side */
    width: 100%;
    max-width: 980px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(20, 51, 82, 0.3);
    height: 100%; /* allow children to stretch */
    overflow: hidden;
    padding: 0;
}

    /* Left panel fills full card height and stacks content */
    .login-container > .col-md-5 {
        background-color: #e9f0ed;
        display: flex;
        flex-direction: column; /* stack children vertically */
        align-items: flex-start; /* left align */
        justify-content: center; /* vertical centering of the whole block */
        padding: 32px;
        min-height: 100%;
    }
    /* widen left pane, narrow right pane on desktop */
    .login-container > .col-md-5 {
        flex: 0 0 47%; /* was effectively ~41.67% */
        max-width: 47%;
    }

    .login-container > .col-md-7 {
        flex: 0 0 55%; /* was ~58.33% */
        max-width: 55%;
    }
/* Inner wrapper so links sit right below the journal name */
.left-panel .branding {
    width: 100%;
    /* remove the old inline margin/padding you had */
}

/* Space between title and link rows */
.journal-name {
    margin: 8px 0 6px;
}

/* Keep link rows tidy and on new lines */
.links-row {
    margin-top: 6px;
}

    .links-row a {
        display: inline-block;
    }


/* Right form panel */
.login-container > .col-md-7 {
    padding: 24px 24px 32px 24px;
}

/* Make buttons stretch nicely on small widths */
.loginBtn {
    width: 165px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background-color: rgba(20, 51, 82, 255);
    color: #fff;
}

.logoImage, .img-responsive {
    margin: 0 auto;
}

/* Responsive stacking (Bootstrap 3 uses floats, so force full width on small) */
@media (max-width: 991px) {
    .login-container > .col-md-5,
    .login-container > .col-md-7 {
        float: none; /* cancel Bootstrap float layout */
        width: 100%; /* stack panels */
        max-width: 100%;
    }

    .login-container > .col-md-5 {
        padding: 24px;
    }

    .login-container > .col-md-7 {
        padding: 20px;
    }
}

/* Tighter spacing on very small screens */
@media (max-width: 480px) {
    .loginBtn {
        width: 100%;
    }
}


.fArialFamily {
    font-family: Arial, sans-serif !important;
    
}