﻿body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 25%),
        linear-gradient(180deg, #f7fafc 0%, #eef4f7 100%);
}

.auth-bg {
    background-color: rgb(248,247,250);
}

.rounded-lg {
    border-radius: 12px !important;
}

.insideDiv {
    display: flex;
    /* Horizontal centering (main axis): */
    justify-content: center;
    /* Vertical centering (cross axis): */
    align-items: center;
    padding: 0;
    margin: 0;
}

.vertical-centered {
    padding: 2em;
    padding: 1em;
    background: #fff;
}

.login {
/*    padding: 2em;*/
    text-align: left;
}

* {
    box-sizing: border-box;
}

.flex-container {
    display: flex;
    flex-direction: row;
    text-align: center;
    background: #fff;
}

.flex-item-left {
    background-color: #f1f1f1;
    padding: 10px;
    flex: 65%;
    margin: 30px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.flex-item-right {
    background-color: white;
    padding: 10px;
    flex: 35%;
}

h5 {
    color: #4d4b55;
    font-family: 'Roboto';
}

.LoginWrapper {
    display: flex;
    /* Horizontal centering (main axis): */
    justify-content: center;
    /* Vertical centering (cross axis): */
    align-items: center;
    padding: 0;
    margin: 0;
}

/*.WelcomeParagraph {
    font-size: 15px;
    color: #555;
}*/


.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-group label {
    font-size: 13px;
    color: #666;
}

.text-muted {
    color: #6c757d !important;
}

.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.platform {
    font-size: 1px;
}

.line-1 {
    height: 1px;
    background: #ddd;
    margin: 20px 0px;
}
.loginPage {
    min-height: 100vh;
}

.LoginWrapper .field-validation-error {
    font-size: 13px;
}

.validation-summary-errors ul { list-style:none; margin:0px ;padding:0px}
.validation-summary-errors ul li {font-size: 13px; padding-top:10px; padding-bottom:10px;}

body {background:#f5f6fa}
.auth-body {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  
    min-height:300px;
}
.block-middle {
    margin-top: auto;
    margin-bottom: auto;
}
.welcomePage {
    min-height:93vh;
    display: flex;
    flex-direction: column;
}
.banner-container{
    display: flex;
    flex-direction: column;
}
.banner-img{
    flex: 1;
}
.banner-logo{
    flex: 1;
}



/* ---------- Layout ---------- */
.login-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    background: transparent;
}

.login-box h2 {
    color: #0f172a;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 12px;
}

.login-box p {
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 36px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    margin-bottom: 15px;
}

.forgot-wrapper {
    background-color: #fff;
    min-height: 100vh;
}

/*-------- Left Panel -------*/
.login-left {
    flex: 0 0 45%;
    padding: 2rem 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* ---------- Right Panel ---------- */
.login-right {
    flex: 1;
    background-color: #fff !important;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 32px);
    margin: 16px 16px 16px 0;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

/* ---------- Custom Carousel ---------- */
.carousel {
    position: relative;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .carousel-item.active {
        opacity: 1;
        z-index: 1;
    }

/* ---------- Captions ---------- */
.carousel-caption {
    position: absolute;
    top: 55%;
    left: 5.5%;
    max-width: 70%;
}

.login-slide-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ecfeff;
    background: rgba(255, 255, 255, 0.18);
}

.login-slide-eyebrow.dark {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
}

.login-right-content h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    text-align: start;
    line-height: 1.1;
}

.login-right-content p {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    text-align: start;
    padding-top: 30px;
}

.right-panel2 {
    top: 0% !important;
    color: #000;
    text-align: start;
}

.right-panel2 h2 {
    font-size: 36px;
    font-weight: 600;
    padding-top: 15px;
    line-height: 1.12;
}

.right-panel2 p {
    font-size: 16px;
    color: #000;
    line-height: 1.7;
    padding-top: 20px;
}

.login-right-content3 h2 {
    color: #fff;
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.18;
}

/* ---------- ERP Demo Image ---------- */
.erpdemo {
    background-image: url("/image/Rectangle20.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    width: 92%;
    height: 475px;
    position: absolute;
    right: 0px;
    bottom: 33px;
}

.login-right-content3 {
    left: 15%;
    top: 64%;
}

/* ---------- Custom Indicators ---------- */
.custom-indicators {
    position: absolute;
    bottom: 40px;
    left: 35%;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.custom-indicators .indicator {
    width: 40px;
    height: 10px;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-indicators .indicator.active {
    width: 118px;
    background-color: #fff;
}

.login-box {
    width: min(100%, 520px);
    padding: 2.25rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(12px);
}

.login-box-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.login-box-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.login-box-brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.login-box-brand-name {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.login-box-brand-copy {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.login-box-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: #115e59;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.form-control {
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid #d7dee7;
    padding: 0.75rem 0.9rem;
    box-shadow: none;
}

.form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.12);
}

.login-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

.login-form-meta .form-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 14px;
    color: #334155;
}

.login-forgot-link {
    color: #0f766e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.login-forgot-link:hover {
    color: #115e59;
    text-decoration: none;
}

.login-submit-button {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-primary-button,
.auth-outline-button {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.85rem 1.4rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-primary-button {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0f766e 60%, #0e7490);
    box-shadow: 0 16px 32px rgba(15, 118, 110, 0.18);
}

.auth-primary-button:hover,
.auth-primary-button:focus {
    color: #fff;
    background: linear-gradient(135deg, #115e59, #115e59 60%, #155e75);
    transform: translateY(-1px);
}

.auth-outline-button {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.86);
}

.auth-outline-button:hover,
.auth-outline-button:focus {
    color: #0f172a;
    background: rgba(255, 255, 255, 1);
    border-color: rgba(15, 23, 42, 0.2);
    transform: translateY(-1px);
}



/*---------------flag and footer--------------*/

.flags {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 37px;
}

    .flags .flag {
        padding: 0px 10px 1px 0;
        margin-right: 10px;
        border-right: 1px solid #989898;
    }

    .flags img {
        height: 15px;
    }

    .flags .flag:last-child {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

.flag-icon {
    display: block;
    height: 20px;
}

.footer-links {
    color: #121212;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 171.429% */
}

.footer-links a {
    color: #121212;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
}




/*-----------Responsive------------*/
@media (max-width: 1440px) {
    .flags {
        margin-bottom: 0px;
    }

    @media (max-width: 1024px) {
        .flags {
            margin-bottom: 10px;
        }
    }
}
@media (max-width:768px){
    .login-wrapper{
        display: flex;
        flex-direction:column;
    }

    .login-left {
        padding: 1rem;
    }

    .loginPage {
        display: flex;
        flex-direction: column;
    }
    .carousel-caption {
        top: 25%
    }

    .erpdemo {
        height: 298px;
        right: 3px;
        bottom: 41px;
    }
    .right-panel2 h2 {
        font-size: 28px;
        font-weight: 600;
        padding-top: 15px;
        width: 446px;
    }
    .right-panel2 p {
        font-size: 14px;
        line-height: 24px;
        padding-top: 20px;
        width: 300px;
    }
    .custom-indicators {
        left: 35%;
    }
    .login-box {
        padding: 1.5rem;
        border-radius: 22px;
    }
}

@media (max-width: 425px) {
    .login-box-header,
    .login-form-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .login-right {
        display: none;
    }
}



/*-------------animation-------------*/

.slide-in-left {
    animation: slideInLeft 1s ease both;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-90px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
