@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts_login/IBMPlexSans/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts_login/IBMPlexSans/IBMPlexSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts_login/IBMPlexSans/IBMPlexSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts_login/IBMPlexSans/IBMPlexSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
        --primary-color: #0082A0;
        --hover-color: #00718c;
        --link-color: #007DA4;
}

body {
        font-family: 'IBM Plex Sans';
}

html,
body {
        height: 100%;
        margin: 0;
        padding: 0;
        background: #ffff;
}

.container-fluid {
        height: 100%;
}

.row {
        height: 100%;
}

.carousel,
.carousel-inner,
.carousel-item {
        height: 100%;
}

.carousel-item img {
        width: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center;
}

/* Inactive indicators: small circles */
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%; /* perfect circle */
    border: none;
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Active indicator: pill shape */
.carousel-indicators [aria-current="true"] {
    width: 20px;
    height: 8px;
    border-radius: 20px; /* pill shape */
    opacity: 1;
}

.login-sft-status-link {
        margin-top: 40px;
        font-size: 14px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 400;
        line-height: 20px;
        text-align: center;
}

.login-sft-status-link a {
        text-decoration: none;
        color: #50616A !important;
}

.carousel-inner {
        overflow: hidden;
        object-fit: cover;
}

.carousel-item {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.login-section,
.forgot-password-section {
        justify-content: center;
        padding: 120px 144px;
        height: 100vh;
}

.login-section__header img,
.forgot-password-section img {
        width: 117px !important;
}

/* Adjust padding for smaller devices */
@media (max-width: 1600px) {

        .login-section,
        .forgot-password-section {
                padding: 30px 80px;
        }
}

@media (max-width: 1100px) {

        .login-section,
        .forgot-password-section {
                padding: 30px 120px;
        }
}

/* Adjust padding for smaller devices */
@media (max-width: 767.98px) {

        .login-section,
        .forgot-password-section {
                padding: 40px 20px;
        }
}

@media (max-width: 575.98px) {

        .login-section,
        .forgot-password-section {
                padding: 20px 30px;
        }
}

/* Between 1100px and 1600px scale padding smoothly */



@media (min-height: 430px) {
        .carousel-item img {
                height: calc(100vh);
                /* Adjust as needed for padding or header/footer */
        }
}

@media (max-aspect-ratio: 1/1) and (max-width: 767.98px) {
        .row {
                flex-direction: column;
                background: linear-gradient(90deg, #2163CE 0%, #007DA4 100%);
        }

        .carousel,
        .carousel-inner,
        .carousel-item {
                height: 50vh;
        }

        .login-section,
        .forgot-password-section {
                height: 50vh;
                border-radius: 24px 24px 0 0;
        }
}

@media (max-width: 1100px) {
        .row {
                background: linear-gradient(90deg, #2163CE 0%, #007DA4 100%);
        }

        .sft-login-section .col-md-7 {
                width: 100%;
        }

        .sft-login-section .col-md-5 {
                width: 100%;
        }

        .carousel,
        .carousel-inner,
        .carousel-item {
                height: 50vh;
        }

        .login-section,
        .forgot-password-section {
                height: 50vh;
                border-radius: 24px 24px 0 0;
        }
}

.login-section__header {
        text-align: center;
}

.welcome-label {
        color: #2C3F46;
        font-size: 32px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 600;
        line-height: 40px;
        padding: 40px 0px;
}

.forgot-password-section .form-group {
        margin-bottom: 24px;
}

.login-section .form-group:nth-child(2) {
        margin-top: 20px;
        margin-bottom: 44px;
}

.login-section .form-group:nth-child(3) {
        margin-bottom: 24px;
}

.login-section .forgot-password-link-main{
        margin-bottom: 40px;
}

.login-section .form-group label,
.forgot-password-section .form-group label {
        color: #50616A;
        font-size: 12px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 400;
        line-height: 16px;
        word-wrap: break-word;
}

.form-check-label {
        color: #50616A;
        font-size: 16px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 400;
        line-height: 24px;
        word-wrap: break-word;
}

.login-forgot-password-link span,
.redirect-to-login-link span {
        text-decoration: none;
        color: var(--link-color);
        font-size: 14px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 500;
        line-height: 20px;
        word-wrap: break-word;
        cursor: pointer;
}

.login-submit button {
        display: block;
        width: 100%;
        background-color: var(--primary-color);
        color: white;
        font-size: 16px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 700;
        line-height: 32px;
        border: none;
}

.login-submit button:hover,
.login-submit button:active,
.fpwd-submit-button:hover,
.fpwd-submit-button:active,
.login-submit button:focus-visible,
.fpwd-submit-button:focus-visible,
.fpwd-submit-button:disabled {
        background-color: var(--hover-color);
}

.login-error-text {
        color: #B30000;
        font-size: 12px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 400;
        line-height: 20px;
        padding-top: 40px;
        text-align: center;
}


.login-section .input-group,
.forgot-password-section .input-group {
        border-radius: .375rem;
}

.login-section .input-group input,
.forgot-password-section .input-group input {
        border-right: none;

}

.login-section .input-group input:focus,
.forgot-password-section .input-group input:focus {
        box-shadow: none;
        border-color: #ced4da;
}

.login-section .input-group:focus-within,
.forgot-password-section .input-group:focus-within {
        box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.login-section .input-group-text,
.forgot-password-section .input-group-text {
        background: transparent;
        cursor: pointer;
}

.login-section .eye-close {
        display: none;
}

.login-section .form-check-input {
        cursor: pointer;
}

.login-section .form-check-input:checked {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
}

.carousel-caption-header {
        font-size: 30px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 600;
}

.forgot-password-section {
        display: none;
}

.redirect-to-login-link {
        text-align: center;
        margin-top: 40px;
}

.redirect-to-login-link span {
        margin-top: 40px;
        text-decoration: none;
        color: var(--link-color);
        font-size: 14px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 500;
        line-height: 20px;
        word-wrap: break-word;
        cursor: pointer;
}

.fpwd-submit-button {
        margin-top: 40px;
}

.error-message {
        color: #B30000;
        display: none;
        font-size: 12px;
}

.resetPwd-result-text {
        font-size: 12px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 400;
        line-height: 20px;
        padding-top: 40px;
        text-align: center;
        color: #b30000
}


.reset-password-container {
        max-width: 840px;
        margin: 50px auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.reset-password-container h1 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
        font-family: 'IBM Plex Sans';

}

.reset-password-container .form-group {
        margin-bottom: 20px;
}

.reset-password-container .form-group label {
        color: #50616A;
        display: block;
        margin-bottom: 5px;
        font-size: 12px;
        font-style: normal;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: 400;
        line-height: 16px;
        font-family: 'IBM Plex Sans';
}

.reset-password-container .form-group input[type="text"],
.reset-password-container .form-group input[type="password"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 5px;
        box-sizing: border-box;
        outline: none !important;
}

.reset-password-container .criteria {
        font-size: 0.9em;
        color: #666;
        background-color: #f0f0f0;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 20px;
}

.reset-password-container .criteria ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
}

.reset-password-container .criteria ul li {
        margin-bottom: 5px;
}

.reset-password-container .reset-pwd-btns {
        display: flex;
        justify-content: space-around;
        align-items: center;
}

.reset-password-container .reset-pwd-btns button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
        width: 240px;
}

.reset-password-container .cancel-button {
        background-color: #fff;
        color: #007da4;
        border: 1px solid #007da4 !important;
}

.reset-password-container .reset-button {
        background-color: var(--primary-color);
        color: #fff;
}

.reset-password-container .back-to-login {
        text-align: center;
        margin-top: 20px;
}

.reset-password-container .back-to-login a {
        color: var(--primary-color);
        text-decoration: none;
}

.reset-password-container .back-to-login a:hover {
        text-decoration: underline;
}

.reset-password-container .input-group {
        position: relative;
        width: 100%;
}

.reset-password-container .input-group input {
        padding-right: 40px;
}

.reset-password-container .input-group svg {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        fill: #999;
}

.reset-password-container .reset-password-body {
        padding: 40px 150px;
}

.reset-password-container .username-div input[type="text"] {
        border: none;
        background: #e9f6fc;
}

.reset-password-container .error-message {
        color: #b30000;
        display: none;
        font-size: 12px;
}

.reset-password-container .eye-close-cpwd,
.reset-password-container .eye-close-pwd {
        display: none;
}

.login-image-caption {
        text-align: -webkit-center;
}

.login-image-header1,
.login-image-header2 {
        width: 400px;
}

.login-image-header3 {
        width: 400px;
}

.login-image-text1 {
        width: 350px;
}

.login-image-text2,
.login-image-text3 {
        width: 385px
}

.loader {
        width: 50px;
        height: 50px;
        margin: 10px auto;
        display: flex;
        justify-content: center;
        align-items: center;
}

.loader svg {
        width: 50%;
        height: 50%;
        animation: animate 2s cubic-bezier(0.5, 0, 0.27, 1) infinite;
}

circle {
        fill: blue;
}


#c1 {
        fill: var(--primary-color);
}

#c2 {
        fill: #99CBDB;
}

#c3 {
        fill: #66B1C8;
}

#c4 {
        fill: #3397B6;
}

@keyframes animate {
        0% {
                height: 100%;
                width: 100%;
                transform: rotate(0deg);
        }


        25% {
                height: 50%;
                width: 50%;
                transform: rotate(90deg);
        }

        50% {
                height: 100%;
                width: 100%;
                transform: rotate(180deg);
        }

        75% {
                height: 50%;
                width: 50%;
                transform: rotate(270deg);
        }


        100% {
                height: 100%;
                width: 100%;
                transform: rotate(360deg);
        }
}

.loader-text {
        text-align: center;
        color: var(--primary-color);
        font-size: 14px;
        font-family: 'IBM Plex Sans', sans-serif;
        font-weight: bold;
}

.pwd-reset-success-container {
        text-align: center;
        max-width: 680px;
        margin: 100px auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px;
}

.back-to-login-btn {
        background: #007DA4;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1em;
        width: 490px;
        color: white;
        margin-top: 40px;
}

.pwd-reset-success-text {
        color: #50616A;
}


.reset-password-container .input-normal {
        border: 1px solid #ccc;
}


.reset-password-container .input-invalid {
        border: 1px solid #B30000 !important;
}

#sft-form-login .form-control {
        padding: 0.72rem 0.75rem 0.72rem 1rem !important;
}


@media (max-width: 1600px) and (max-height: 900px) {
    .welcome-label{
                padding: 30px 0px !important;
        }

        .login-section .form-group:nth-child(2) {
                margin-top: 20px;
        margin-bottom: 40px;
        }
}


@media (max-width: 1366px) and (max-height: 768px) {
   .welcome-label{
                padding: 30px 0px !important;
        }

        .login-section .form-group:nth-child(2) {
                margin-top: 10px;
        margin-bottom: 34px;
        }
}


@media (max-width: 1280px) and (max-height: 720px) {
 .welcome-label{
                padding: 20px 0px !important;
        }

        .login-section .form-group:nth-child(2) {
                margin-top: 10px;
        margin-bottom: 24px;
        }
}
