body {
    background: url("../images/login_bg.jpg") no-repeat;
    margin: 0;
    padding: 0;
    height: 96.9vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.content {
    width: 800px;
    margin: 0 auto;
}

.clr {
    clear: both;
}

.headding {
    position: relative;
    text-align: center;
    top: 35px;
    color: #fff;
}

.headding span {
    font-size: 28px;
    font-weight: 700;
}

.login {
    width: 800px;
    border: 3px solid #3d76cf;
    height: 325px;
    margin: 10px 0;
    border-radius: 5px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    background: #fff;
}

.left-cont {
    float: left;
    width: 40%;
    background: #01509f;
    height: 325px;
    color: #fff;
    position: relative;
}

.company-feature {
    width: 226px;
    margin: 0 auto;
}

.com-image img {
    width: 100%;
    height: 125px;
    border-radius: 15px;
    margin-top: 10px;
    padding: 5px;
    border: 1px solid #fff;
    object-fit: contain;
}

.company-info {
    padding-top: 10px;
}

.company-info h4 {
    text-align: center;
    font-size: 18px;
    margin: 5px 0 10px;
}

.com-add {
    width: 245px;
    border-radius: 15px;
    margin: 0 auto;
    min-height: 67px;
    border: 1px solid #fff;
    padding: 10px;
    box-sizing: border-box;
}

.com-profile {
    font-size: 13px;
    line-height: 1.4;
}

.corcel {
    position: absolute;
    top: 40%;
    right: -36px;
    z-index: 10;
}

.round {
    width: 70px;
    height: 70px;
    border: 3px solid #f1f1f1;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.inner-round {
    width: 60px;
    height: 60px;
    border: 3px solid #f1f1f1;
    border-radius: 50%;
    background: #01509f;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translateY(-50%);
}

.inner-logo {
    position: absolute;
    top: 32%;
    left: 23%;
}

.right-cont {
    float: left;
    width: 60%;
    height: 325px;
    background: #fff;
}

.login-form {
    padding: 55px 55px 20px;
}

.login-form h4 {
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    height: 40px;
    border-radius: 4px;
}

.btn-block {
    width: 100%;
}

.btn-info {
    color: #fff;
    background: #31b0d5;
    border-color: #31b0d5;
}

.btn-info:hover {
    color: #fff;
    background: #269abc;
    border-color: #269abc;
}

.login-error {
    color: red;
    font-size: 12px;
    margin: 0 0 8px;
    text-align: center;
}

.login-success {
    color: green;
    font-size: 12px;
    margin: 0 0 8px;
    text-align: center;
}

.field-error {
    color: red;
    font-size: 11px;
    margin-bottom: 3px;
}

.develop_by {
    text-align: right;
    padding-right: 10px;
}

.develop_by a {
    color: #31b0d5;
    text-decoration: none;
    font-size: 10px;
}

.develop_by a:hover {
    color: #31b0d5;
    text-decoration: none;
}

/* =========================================
   MOBILE
========================================= */

@media (min-width: 300px) and (max-width: 620px) {
    body {
        height: 94vh !important;
    }

    .content {
        width: 100%;
    }

    .headding {
        top: 62px !important;
    }

    .headding span {
        font-size: 20px !important;
        font-weight: 900 !important;
        letter-spacing: -1px !important;
        text-transform: uppercase !important;
    }

    .login {
        width: 95% !important;
        height: 200px;
        top: 36%;
        left: 50%;
    }

    .left-cont {
        width: 35% !important;
        padding: 5px !important;
        height: 195px !important;
        padding-bottom: 0 !important;
        box-sizing: border-box;
    }

    .company-feature {
        width: 100% !important;
    }

    .com-image img {
        height: 67px;
        margin-top: 0;
    }

    .company-info {
        padding-top: 2px;
    }

    .company-info h4 {
        font-size: 10px !important;
        margin: 2px 0 5px;
    }

    .com-add {
        width: 100% !important;
        height: 67px;
        padding: 5px;
        border-radius: 8px;
    }

    .com-profile {
        font-size: 9px !important;
    }

    .corcel {
        top: 36%;
        right: -25px;
    }

    .round {
        width: 50px !important;
        height: 50px !important;
    }

    .inner-round {
        width: 45px !important;
        height: 45px !important;
        left: 0 !important;
    }

    .right-cont {
        width: 65% !important;
        height: 195px !important;
    }

    .login-form {
        padding: 18px 30px;
        padding-bottom: 0;
    }

    .login-form h4 {
        font-size: 16px !important;
        margin-bottom: 10px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-control {
        height: 25px;
        font-size: 10px;
        padding: 3px 7px;
    }

    .btn {
        padding: 2px 12px;
        font-size: 12px;
        height: 27px;
    }

    .login-error,
    .login-success,
    .field-error {
        font-size: 8px;
    }

    .develop_by {
        padding-top: 10px;
        padding-right: 5px;
    }

    .develop_by strong,
    .develop_by a {
        font-size: 7px !important;
    }
}

/* =========================================
   LARGE SCREEN
========================================= */

@media only screen and (min-width: 1400px) {
    body {
        height: 100vh !important;
    }

    .login {
        width: 800px;
        top: 32%;
        left: 50%;
    }
}

body {
    display: grid;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto !important;
    place-items: center;
    padding: 36px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    color: #1e293b;
    background: #f1f3f6;
}

.content {
    width: min(100%, 900px);
    margin: auto;
}

.headding {
    position: static;
    margin: 0 0 16px;
    color: #64748b;
    text-align: left;
}

.headding span {
    font-size: 14px;
    font-weight: 600;
}

.login {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    margin: 0;
    overflow: hidden;
    transform: none;
    border: 1px solid #d9e0e7;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(30, 41, 59, 0.1);
}

.left-cont {
    float: none;
    width: auto;
    height: auto;
    min-height: 430px;
    padding: 38px 30px;
    background: #27477f;
}

.company-feature {
    width: 100%;
}

.com-image img {
    display: block;
    width: 132px;
    height: 112px;
    margin: 0 auto 24px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    object-fit: contain;
}

.company-info {
    padding-top: 0;
}

.company-info h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 19px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.com-add {
    width: 100%;
    min-height: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.12);
}

.com-profile {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.corcel {
    display: none;
}

.right-cont {
    display: flex;
    float: none;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    padding-bottom: 46px;
    background: #fff;
}

.login-form {
    width: 100%;
    padding: 54px 58px 28px;
}

.login-form h4 {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 26px;
    font-weight: 700;
    text-align: left;
}

.login-intro {
    margin: 0 0 26px;
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.form-control {
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    border-color: #128c75;
    box-shadow: 0 0 0 3px rgba(18, 140, 117, 0.12) !important;
}

.btn-info {
    height: 44px;
    color: #fff;
    border-color: #128c75;
    border-radius: 4px;
    background: #128c75;
    font-weight: 600;
}

.btn-info:hover,
.btn-info:focus {
    color: #fff;
    border-color: #0e7462;
    background: #0e7462;
}

.login-error,
.login-success {
    padding: 9px 11px;
    border-radius: 4px;
    font-size: 13px;
    text-align: left;
}

.login-error {
    color: #b42318;
    background: #fef3f2;
}

.login-success {
    color: #067647;
    background: #ecfdf3;
}

.field-error {
    margin-bottom: 5px;
    color: #b42318;
    font-size: 12px;
}

.develop_by {
    position: absolute;
    right: 24px;
    bottom: 17px;
    padding: 0;
    color: #64748b;
}

.develop_by strong,
.develop_by a {
    font-size: 11px !important;
}

.develop_by a,
.develop_by a:hover {
    color: #526a7e;
}

@media (max-width: 767px) {
    body {
        padding: 24px 14px;
    }

    .headding {
        top: auto !important;
        margin-bottom: 12px;
    }

    .headding span {
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .login {
        width: 100% !important;
        grid-template-columns: minmax(0, 1fr);
    }

    .left-cont {
        display: flex;
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        align-items: center;
        gap: 14px;
        padding: 16px !important;
        padding-bottom: 16px !important;
        box-sizing: border-box;
    }

    .company-feature {
        width: auto !important;
        flex: 0 0 auto;
    }

    .com-image img {
        width: 64px;
        height: 64px;
        margin: 0;
        padding: 6px;
    }

    .company-info {
        min-width: 0;
        flex: 1 1 auto;
        padding-top: 0;
    }

    .company-info h4 {
        margin: 0;
        font-size: 15px !important;
        text-align: left;
    }

    .com-add {
        display: none;
    }

    .right-cont {
        width: auto !important;
        height: auto !important;
        padding-bottom: 46px;
    }

    .login-form {
        padding: 28px 22px 18px;
    }

    .login-form h4 {
        font-size: 23px !important;
    }

    .login-intro {
        margin-bottom: 21px;
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-control {
        height: 44px;
        font-size: 14px;
    }

    .btn {
        height: 44px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .login-error,
    .login-success,
    .field-error {
        font-size: 12px;
    }

    .develop_by {
        right: 18px;
        bottom: 15px;
        padding: 0;
    }

    .develop_by strong,
    .develop_by a {
        font-size: 10px !important;
    }
}
