﻿body {
    background-color: #edf2f7;
}
body html {
    font-family: 'Lato', sans-serif;
}

div#login_panel,
div#forgot_password_panel {
    width: 80%;
}

div#titlePage {
    color: #52A3D5;
    border-bottom: 1px solid #52A3D5;
    font-size: 17px;
}

div#failure {
    color: #FF4753;
}

div.label {
    color: #637582;
    font-size: 12px;
}

input.textBox {
    color: #6d6d70;
    font-size: 12px;
    border: 1px solid #E8E8E8;
    background: #FBFBFB;
    width: 200px;
    height: 20px;
    line-height: 20px;
    padding: 0px 3px;
    vertical-align: middle;
    margin-bottom: 15px;
}

div#forgot_password {
    float: left;
}

    div#forgot_password a {
        color: #4B9FD3;
        text-align: right;
        padding-right: 15px;
        padding-top: 10px;
        font-size: 12px;
    }


div#forgot_password_panel {
    padding-bottom: 25px;
}

div#vertical_position {
    position: absolute;
    top: 25%;
    width: 99%;
}

div#horizontal_position,
div#login_panel,
.login_logo, .login_logo_ps,
div#forgot_password_panel,
div#inner-content {
    margin-left: auto;
    margin-right: auto;
}

.login_logo, .login_logo_ps {
    height: 62px;
    margin-top: 7px;
    width: 236px;
}

.login_logo {
    background: url('Common/images/logo.png')no-repeat center center;
}

.login_logo_ps {
    background: url('Common/images/logo_ps.png') no-repeat center center;
}

div#inner-content {
    background-color: white;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.49);
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.20);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.20);
    width: 90%;
    max-width: 400px;
    margin-top: 5%;
    padding: 1%;
}
.btn-custom {
    color: #1e1e1e;
    background-size: 200% auto;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
    background-image: linear-gradient(to right, #127bc0 0%, #40d5e6 50%, #43ade2 100%);
    transition: 0.5s;
    color: white;
}
.btn-custom:hover {
    color: white;
    text-decoration: none;
    background-position: right center;
}


#inner-content span img{
    margin:20px 0 0 0;
}

a, #content div.table a, .link-list a {
    color: #1879b8;
    text-decoration: none;
}

.slider-ND {
    position: relative;
    display: block;
    width: 67px;
    height: 34px;
    background-color: #ededed;
    border-radius: 34px;
    overflow: hidden;
    box-sizing: border-box;
    transition: background-color 0.4s, border-color 0.4s;
}

.slider-ND::before {
    content: "";
    position: absolute;
    height: 26px;
    width: 26px;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    background-color: #8e8e8e;
    border-radius: 50%;
    transition: transform 0.4s ease, background-color 0.4s ease, left 0.4s ease;
}

.slider-ND::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #8e8e8e;
    transition: all 0.4s ease;
}

input:checked + .slider-ND {
    background-color: rgba(18, 123, 192, 0.15);
    color: rgba(18, 123, 192, 1);
    border-color: transparent;
}

    input:checked + .slider-ND::before {
        left: calc(100% - 30px);
        background-color: rgba(18, 123, 192, 1);
    }

    input:checked + .slider-ND::after {
        content: "";
        left: 8px;
        right: auto;
        color: rgba(18, 123, 192, 1);
    }

.toggleSwitch {
    display: none;
}

.toggleTxt {
    color: #3e3e3e;
    font-size: 16px;
}

.newDesignBox {
    background: white;
    width: 90%;
    max-width: 400px;
    margin: 1% auto;
    padding: 1%;
    max-height: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.imgNewDesign {
    width: 185%;
    height: 250px;
    object-fit: cover;
    margin-left: -42.5%;
    display: block;
}

.left-side-header{
    font-size: 27px;
    font-weight: bold;
    color: #3e3e3e;
}
.card-left {
    width: 520px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    height: calc(100vh - 40px);
    max-height: 797px;
}

.card-left, .card-right {
    border-radius: 37px;
    overflow: hidden;
}

.card-right {
    width: 100%;
    max-width: 875px;
    height: calc(100vh - 40px);
    max-height: 797px;
    background-image: url(/AStyles/Login/img/rightSide.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.form-control-nd {
    border-radius: 20px !important;
    border-width: 1px;
    height: 60px !important;
    width: 300px !important;
}

.btnLoginND {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="14" viewBox="0 0 16 14" fill="none"><path d="M-2.62268e-07 6L-3.49691e-07 8L12 8L12 10L14 10L14 8L16 8L16 6L14 6L14 4L12 4L12 6L-2.62268e-07 6ZM10 2L12 2L12 4L10 4L10 2ZM10 2L8 2L8 -3.49691e-07L10 -2.62268e-07L10 2ZM10 12L12 12L12 10L10 10L10 12ZM10 12L8 12L8 14L10 14L10 12Z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 14px;
    padding-right: 0px;
}

.btn-customND {
    height: 60px !important;
    width: 300px !important;
    background-color: #127BC0;
    color: white;
    border-radius: 20px !important;
    border-width: 1px;
    font-size: 20px;
    font-weight: bold;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
    height: 100vh;
    box-sizing: border-box;
}

.card-left-content {
    height: 100%;
}

.card-left-header {
    margin: 10vh 0;
}

.btn-customND:hover {
    background-color: #1970a8;
    color: white;
}

.btn-customND:active {
    color: white;
    background-color: #1e71a7;
}

.sub-header{
    color: #3e3e3e;
}

@media screen and (max-width: 768px) {
    .login-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        padding: 15px;
        box-sizing: border-box;
    }

    .card-left {
        width: 100%;
        max-width: 400px; 
        margin: 0 auto;
        padding: 20px;
        box-shadow: none;
    }

    .card-right {
        display: none !important;
    }

    .logoImage {
        width: auto;
        max-width: 100%;
        height: auto !important;
        max-height: 44px; 
    }

    .form-control-nd {
        height: 48px;
        font-size: 16px; 
    }

    .btn-customND {
        height: 48px;
        font-size: 16px;
        font-weight: bold;
    }

    .inner-content .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}