@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --white: #fff;
    --black: #000;
    --color-ecl-dark: rgb(53, 162, 174);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* transition: all 0.3s ease; */
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Urbanist", sans-serif;
    background-color: #f3f3f3;
}

/* Container for the form */
#form_container {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 130px);
    overflow-y: scroll;
    overflow-x: visible;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    padding: 3rem 2.5rem;
    background-color: #fff;
    opacity: 1;
}

#form_container::-webkit-scrollbar{
    width: 4px;
    border-radius: 5px;
}

#form_container ::-webkit-scrollbar-track {
    background: #ececec;
    border-left: 1px solid gainsboro;
    border-radius: 5px;
}

#form_container::-webkit-scrollbar-thumb {
    background: var(--color-ecl-dark);
    border-radius: 5px;
}

#form_container ::-webkit-scrollbar-thumb:hover{
    background: var(--color-ecl-dark);
}
/* Define the form steps */
.form-step {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}
/* 
Keyframes for sliding up (Next button)
@keyframes slideUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

Keyframes for sliding down (Back button)
@keyframes slideDown {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

Animation classes
.form-step.slide-up {
    animation: slideUp 0.5s forwards;
}

.form-step.slide-down {
    animation: slideDown 0.5s forwards;
} */

/* #signup_section_2,
#signup_section_3,
#signup_section_4{
    display: none;
} */

/* New step sliding in */
.slide-in {
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Old step sliding out */
.slide-out {
    animation: slideOut 0.5s forwards;
}

@keyframes slideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

/* Old step sliding back (when going back) */
.slide-back {
    animation: slideBack 0.5s forwards;
}

@keyframes slideBack {
    from { transform: translateY(0); }
    to { transform: translateY(100%); }
}

.header {
    width: 100%;
    height: 70px;
    padding: 1.25rem 1.5rem 1.25rem 1.75rem;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
    color: black;
    z-index: 3;
}

.nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-elem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo>img {
    height: 40px;
}

#user-image>img {
    height: 40px;
    border-radius: 50%;
}

.user {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.user-name {
    font-size: 1rem;
}

#support-nav{
    cursor: pointer;
}

/* Styles for dropdown */
#user-nav-dropdown {
    display: none;
    z-index: 1000;
    position: absolute;
    right: 36px;
    bottom: -2.5rem;
    background-color: white;
    border: 1px solid #ddd;
    width: 225px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    overflow: hidden;
}

#support-nav-dropdown{
    display: none;
    z-index: 1000;
    position: absolute;
    right: 100px;
    bottom: -9.5rem;
    background-color: white;
    border: 1px solid #ddd;
    width: 300px;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    overflow: hidden;
}

#support-nav-dropdown a{
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

#support-nav-dropdown a:hover{
    text-decoration: underline;
}

#support-nav-header{
    padding-bottom: .5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

 .dropdown-content {
    width: 100%;
}

#user-nav-dropdown .dropdown-content div {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    opacity: .8;
    color: black;
    gap: .5rem;
}

/* .dropdown-content a:last-child {
    border: 0;
} */

/* Hide all sections except the active one */
.signup-section {
    display: none;
}
.signup-section.active {
    display: block;
}


#user-nav-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
    opacity: 1;
}

.container {
    display: flex;
    justify-content: center;
    /* padding-left: 10vw; */
    flex-wrap: wrap;
    /* align-items: center; */
    width: 100%;
    gap: 1rem;
    margin: 2rem auto;
    /* padding: 2rem auto; */
}

.card{
    width: 100%;
    margin: 1rem 0rem;
    padding: 1rem;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    background-color: #fff;
}

.card-document{
    width: 100%;
    margin: 1rem 0rem;
    padding: .5rem;
    border: 1px solid #78a3ad;
    border-radius: 4px;
    background-color: #fff;
}

.card-title{
    font-size: 1rem;
    padding-bottom: .5rem;
}

.card-body{
    margin: .5rem 0rem;
}

.card-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .5rem;
}

.card-felx #gst{
    padding: 0rem .5rem !important;
}

.steps {
    /* max-width: 400px; */
    padding: 2.5rem 3rem;
    min-width: 300px;
    height: fit-content;
    /* width: 300px; */
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    background-color: #fff;
}

.steps-list {
    list-style-type: none;
    line-height: 2.5rem;
    opacity: .8;
}

.steps-list a{
    text-decoration: none;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .3rem;
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.step:hover {
    position: relative;
    left: -.5rem;
    border-radius: 8px !important;
    background-color: #cefaff !important;
    padding: 0 .5rem;
    font-size: 1rem;
    font-weight: 700;
}

/* for active step */
.active-step{
    position: relative;
    left: -.5rem;
    border: 1px solid var(--color-ecl-dark) !important;
    border-radius: 8px !important;
    background-color: #cefaff !important;
    padding: 0 .5rem;
    font-size: 1rem;
    font-weight: 700;
}

.step.active-step .circle{
    background-color: rgb(53, 162, 174) !important;
}

.circle {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-color: rgb(230, 232, 235);
}

.step:hover .circle {
    background-color: rgb(89, 214, 227) !important;
}
/* .circle .line {
    position: relative;
    top: 1.25rem;
    left: .6rem;
    height: 1.75rem;
    width: 0;
    border: 1px solid rgb(230, 232, 235);
} */

.container-main {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 45vw;
}

.welcome-message {
    width: 100%;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    padding: 1rem 2.5rem;
    background-color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: start;
    margin-bottom: 0.5rem;
    position: relative; /* For progress bar */
    opacity: 1; /* Start fully visible */
    transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transition for fade and move */
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00A2AD;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 3s linear;
}

/* Add this class to animate disappearance */
.welcome-message.hide {
    transform: translateY(-50px); /* Move upwards */
    opacity: 0; /* Fade out */
}

.welcome-message .user-name {
    font-size: 1.5rem;
}

/* .form-container {
    transition: all ease 1s;
    width: 100%;
    max-height: calc(100vh - 197px);
    overflow-x: hidden;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    padding: 3rem 2.5rem;
    background-color: #fff;
    Change
    transition: all 0.4 ease-out;
} */

/* Heading for Each Step */
.form-header>h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.form-header>h3>strong{
    color: var(--color-ecl-dark);
}

.row {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.row-100 {
    width: 100%;
    display: flex;
}

.row-100:has(input[type="checkbox"]),
.row-100>input[type="checkbox"] {
    padding-bottom: .5rem;
}

.col-l {
    width: 50%;
    margin-right: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.col-r {
    width: 50%;
    margin-left: .5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

label {
    margin-bottom: .25rem;
    font-size: .8rem;
    opacity: 0.9;
}

/* Label for Financing Amount */
#financing_amount_label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-ecl-dark);
}

#password-rules ul li{
    margin-left: .75rem;
    list-style: none;
    font-size: .9rem;
}

#password-rules ul li::before{
    content: '- ';
}

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="file"],
input[type="search"],
input[type="url"],
input[type="email"],
input[type="password"],
select {
    padding: .75rem .5rem;
    outline: none;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="checkbox"],
input[type="radio"]{
    padding: .75rem .5rem;
    outline: none;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 6px;
    transition: all 0.3s ease;
}

input[type="number"],input[type="tel"]{
    letter-spacing: 1px;
}

/* for step 5 */
#gst,#itr{
    padding: .5rem !important;
}

input[type="checkbox"] {
    margin-right: .5rem;
}

input[type="date"] {
    padding: .6777rem .5rem;
    outline: none;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="file"] {
    display: none;
}

.file-label {
    text-align: center;
    width: 100%;
    padding: .75rem .5rem;
    outline: none;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.upload_icon{
    width: 2rem;
}

input:focus,
select:focus {
    border: 1px solid var(--color-ecl-dark);
}

select option {
    font-size: 1rem;
}

/* file upload classes */
.file-preview-container {
    display: flex;
    align-items: center;
    margin: 10px 0px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
    position: relative;
}

.file-preview-image {
    /* max-width: 30px; Adjust as needed */
    max-height: 70px; /* Adjust as needed */
    margin: 0 10px;
}

.file-info {
    margin-right: 10px;
    flex-grow: 1;
}

.delete-button {
    background: red;
    color: white;
    border: 0px;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1rem;
    position: absolute;
    right: 0;
    top: 0;
}

span {
    padding-top: .25rem;
    font-size: .8rem;
    /* opacity: 0.8; */
}

#btn-container {
    display: flex;
    justify-content: end;
    align-items: flex-end;
    padding: 2rem 0;
}

.btn-container {
    display: flex;
    justify-content: end;
    align-items: flex-end;
    padding: 1rem 0rem;
    gap: .5rem;
}

.btn {
    min-height: 40px;
    width: fit-content;
    padding: .75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}

.next-btn {
    color: white;
    background-color: rgb(0, 162, 173);
    border: 1px solid rgb(0, 162, 173);
}

.next-btn:hover {
    background-color: var(--color-ecl-dark);
}

.back-btn {
    color: rgb(100, 100, 100);
    font-weight: 600;
}

.btn-delete{
    background-color: rgb(237, 107, 90);
    color: white;
    font-size: .9rem;
    line-height: 1rem;
    font-weight: 600;
}
/* .nav-btn{
    font-size: 2rem !important;
    color: rgb(52, 161, 173) !important;
    cursor: pointer !important;
} */

/* .back-btn:hover{
    background-color: rgb(107, 114, 128);
} */

.connect-btn{
    padding: .5rem 2rem;
    width: fit-content;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    color: white;
    background-color: rgb(0, 162, 173);
    border: 1px solid rgb(0, 162, 173);
}

.connect-btn:hover{
    background-color: var(--color-ecl-dark);
}

#dashboard-btn{
    margin: 1rem 0rem;
    padding: .5rem;
    width: fit-content;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    color: white;
    background-color: rgb(0, 162, 173);
    border: 1px solid rgb(0, 162, 173);
}

#dashboard-btn:hover{
    background-color: var(--color-ecl-dark);
}

/* Modal Styling */
.modal {
    margin: auto;
    z-index: 555;
    width: 50%;
    padding: 2rem;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 8px;
    background-color: #fff;
}

.modal_title,
.modal_body {
    margin: 1rem 0rem;
}

.modal_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal_footer {
    margin: 2rem 0rem 1rem;
}

#modal-bank {
    margin: auto;
    z-index: 555;
    width: 30%;
    padding: 2rem;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 8px;
    background-color: #fff;
}

#close-tnc,
#close {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    font-weight: 200;
    border-radius: 50%;
    cursor: pointer;
}

#close-tnc:hover,
#close:hover {
    background-color: #f1f1f1;
}

.modal::-webkit-scrollbar{
    display:none
}

.w-5{
    width: 5rem;
}

.tick-mark-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0px;
}

.tick-mark{
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.8rem;
    color: #fff;
    background-color: rgb(75, 173, 80);
    border-radius: 50%;
}
.thanks{
    padding-bottom: 1rem;
}

.thanks-mssg{
    opacity: .7;
    font-size: 1rem;
}

.required_financial_docs{
    padding: .5rem 1rem;
    list-style-type: circle;
}

.docs_label{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .5rem 0rem;
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
    height: 7rem;
    font-weight: 500;
    opacity: .7;
    border: 1px dashed #78a3ad;
    border-radius: 4px;
    cursor: pointer;
}
.docs_label:hover{
    opacity: 1;
}

i{
    padding-right: .6rem;
}

/* background-color: #e8f2fc; */
.added_banks_count{
    padding: .5rem 1rem;
    color: rgb(0, 162, 173);
    background-color: #e8f2fc;
    border-radius: 20px;
    font-weight: 700;
    font-size: .9rem;
    width: fit-content;
}

.banks-container{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1rem;
    gap: 1rem;
}

.banks-container  .banks{
    display: flex;
    text-align: center;
    padding: 1rem .5rem;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 4px;;
    cursor: pointer;
    align-items: center;
    border: 1px solid rgba(211, 211, 211, 0.25)
}

.banks-container  .banks:hover{
    box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.2);
}

.bank-logo{
    width: 28px;
    height: 28px;
    margin-right: 0.5rem;
}

.bank-logo > img{
    border-radius: 50%;
}

.bank-btn-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.bank-btn-container button{
    width: 80%;
    padding: .75rem .5rem;
    font-size: .9rem;
    font-weight: 600;
    color: white;
    background-color: rgb(0, 162, 173);
    border: 1px solid rgb(0, 162, 173);
    border-radius: 8px;
    cursor: pointer;
}

.alert{
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    font-weight: 600;
    width: 100%;
    padding: .5rem 1rem;
    color: #000;
    border-radius: 4px;
    background-color: rgb(230, 230, 230);
    cursor: pointer;
}

.icon-container{
    display: flex;
    align-items: center;
}

.fa-trash-can{
    cursor: pointer;
}

#modal-account-platform-alert{
    width: 400px;
    margin: auto;
    border: 1px solid #fefefe;
    padding: 1rem 2rem;
    border-radius: 8px;
}

/* design for bank alert modal */
#modal-bank-alert,
#modal-account-platform-alert,
#modal-finance-alert{
    margin: 6.5rem auto;
    width: 400px !important;
    padding: 1rem 1rem 0rem 1rem;
    border: none;
    border-radius: 10px;
    font-size: .9rem;
}

.ap_connect{
    display: flex;
    justify-content: space-between;
}

.ap_logo{
    margin: auto;
    padding: 2rem 0rem;
}

.alert_green{
    width: 70%;
    background-color: rgb(181, 247, 199);
    padding: .5rem 1rem;
    border-radius: 4px;
    font-size: .9rem;
}

.has_more_banks>div>h3{
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.has-bank-btn{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 5rem;
    padding: .75rem;
    font-size: .9rem;
    font-weight: bold;
    color: rgb(0, 162, 173);
    background-color: #fff;
    border: 1px solid rgb(0, 162, 173);
    border-radius: 10px;
    transition: all .3s ease;
    cursor: pointer;
}

.has-bank-btn:hover{
    color: #fff;
    background-color: rgb(0, 162, 173);
    box-shadow: 3px 3px 3px hsla(0, 0%, 0%, 0.2);
}

.has-bank-btn-no{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 5rem;
    padding: .75rem;
    font-size: .9rem;
    font-weight: bold;
    color: rgb(0, 162, 173);
    background-color: #fff;
    border: 1px solid rgb(0, 162, 173);
    border-radius: 10px;
    transition: all .3s ease;
    cursor: pointer;
}

.has-bank-btn-no:hover{
    color: #fff;
    background-color: #fab514;
    border: 1px solid #fab514;
    box-shadow: 3px 3px 3px hsla(0, 0%, 0%, 0.2);
}

/* first page (Eligibility Questions) */

.container-sub{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin-top: 1rem;
    padding: 0rem 1rem;
    width: 640px;
}

#applicant_id_proof_info{
    cursor: pointer;
    font-weight: 600;
}

.form-container-sub {
    width: 100%;
    border: 1px solid #f5f5f5;
    border-radius: 10px;
    /* padding: 3rem 2.5rem; */
    background-color: #fff;
}

.form-header-sub>h1 {
    font-size: 2rem;
    font-weight: 600;
    padding: 1.2rem 2rem;
    color: #fff;
    background-color: rgb(52, 161, 173);
}

.form-body{
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
}

.row>p{
    padding-bottom: .75rem;
}

.btn-ecl{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 5rem;
    padding: .75rem;
    font-size: 1rem;
    font-weight: bold;
    color: rgb(0, 162, 173);
    background-color: #fff;
    border: 1px solid rgb(0, 162, 173);
    border-radius: 10px;
    transition: all .2s ease;
    cursor: pointer;
}

.btn-ecl:hover{
    color: #fff;
    background-color: var(--color-ecl-dark);
    box-shadow: 3px 3px 3px hsla(0, 0%, 0%, 0.2);
}

.btn-yellow{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 5rem;
    padding: .75rem;
    font-size: 1rem;
    font-weight: bold;
    color: rgb(0, 162, 173);
    background-color: #fff;
    border: 1px solid rgb(0, 162, 173);
    border-radius: 10px;
    transition: all .2s ease;
    cursor: pointer;
}

.btn-yellow:hover{
    color: #fff;
    background-color: #fab514;
    border: 1px solid #fab514;
    box-shadow: 3px 3px 3px hsla(0, 0%, 0%, 0.2);
}

.not-eligible-message{
    width: calc(640px - 2rem);
    border-radius: 10px;
    background-color: #fff;
    padding: 3rem;
    color: rgb(17, 24, 39);
    font-weight: 600;
    line-height: 20px;
    font-size: .9rem;
}

#support_mail{
    text-decoration: none;
    color: var(--color-ecl-dark);
    font-weight: 600;
}

#support_mail:hover{
    text-decoration: underline;
}

.financing_amount_section{
    font-size: 15px;
    font-weight: 600;
    color: rgb(17, 24, 39);
}

#modal-applicant-id-proof,
#modal-bo-id-proof{
    margin: auto;
    width: 460px;
    /* height: 500px; */
    padding: 1rem 2.5rem;
    border: 1px solid rgb(229, 232, 235);
    border-radius: 8px;
    background-color: #fff;
}

#close_applicant_id_proof,
#close_bo_id_proof{
    display: flex;
    /* align-items: center; */
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    font-weight: 200;
    border-radius: 50%;
    cursor: pointer;
}

#close_applicant_id_proof:hover,
#close_bo_id_proof:hover{
    background-color: #f1f1f1;
}

#customer_passport_info,
#bo_passport_info{
    font-weight: 600;
    cursor: pointer;
}

#customer_passport_info:hover,
#bo_passport_info:hover{
    text-decoration: underline;
}

#applicant_id_proof_list{
    margin-left: 1rem;
}

/* style for bo details page3_2 */
.related-entity,
.owner-detail,
.bank-detail,
.entity-detail{
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.owner-info p {
    margin: 0;
    padding: 5px 0;
}

.owner-info strong {
    color: #333;
}

.login-container{
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.login-container .section{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-ecl-logo{
    /*margin: 3.75rem;*/
    margin: 5.75rem 0 3rem 0;
}

.login-form-container{
    width: 420px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    padding: 2.2rem 1.875rem;
    margin: auto;
}

.form-title{
    font-weight: 700;
    font-size: 30px;
}

.benefits-title{
    width: 360px;
    margin: .5rem auto;
    font-size: 19px;
    font-weight: 600;
    align-self: center;
    line-height: 1.4;
}

.benefits-list{
    /* width: 360px; */
    margin: .5rem ;
    align-self: center;
    line-height: 1.4;
    font-size: 15px;
    
}

.benefits-list li{
    text-decoration: none;
    list-style-type: none;
}

.benefits-list li::before{
    content: "-  ";
}

.login-btn,
.signup-btn{
    height: 40px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid rgb(0, 162, 173);
    border-radius: 6px;
    background-color: rgb(0, 162, 173);
    color: #fff;
    cursor: pointer;
}

#redirect_signup,
#redirect_login,
#redirect_email,
#redirect_logout{
    align-self: center;
    /* cursor: pointer; */
}

/* .login-card{
        padding: 1rem 0;
    }  */

.image-container{
    padding: 95px 40px;
}

#forgot_password{
    text-decoration: none;
    color: #000;
    width: 100%;
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}


#signup_text,
#login_text{
    text-decoration: none;
    color: #000;
}

#forgot_password:hover,
#signup_text:hover,
#login_text:hover{
    text-decoration: underline;
}

#forgot_password_mssg{
    margin-bottom: .25rem;
    opacity: 0.8;
    line-height: 1.4;
    font-size: 15px;
    font-weight: 400;
}

.tnc_link{
    text-decoration: none;
    color: #000;
    font-size: 13px;
    opacity: 1;
    font-weight: 500;
}

.tnc_link:hover{
    text-decoration: underline;
}

.reset-password-cancel-btn,
.reset-password-btn{
    width: 100%;
    opacity: .9;
    font-weight: 600;
    line-height: 1.4;
    
}

.reset-password-cancel-btn{
    color: #6b7280;
    background-color: #f0f1f2;
}

.reset-password-btn{
    color: #a8a8a8;
    background-color: #e0e0e0;
}

.invalid{
    border: 1px solid #ff6a6a !important;
}

/* handling response */

.response-success{
    padding: .6rem 1rem;
    border: 1px solid rgb(0, 255, 0);
    border-radius: 8px;
    background-color: rgb(124, 225, 124);
    color: #fff;
    margin-bottom: .5rem;
}

#tnc-dialog{
    max-width: 700px;
    width: 100%;
}

#tnc_list{
    overflow-x: hidden;
    overflow-y: scroll;
    border: 1px solid #dedede;
    border-radius: 8px;
    padding: 1.5rem;
    height: 270px;
}

#tnc_list ul{
    padding-left: 20px;
}

#tnc_list::-webkit-scrollbar{
    width: 4px;
    border-radius: 5px;
}

#tnc_list::-webkit-scrollbar-track {
    background: #ececec;
    border-left: 1px solid gainsboro;
    border-radius: 5px;
}

#tnc_list::-webkit-scrollbar-thumb {
    background: var(--color-ecl-dark);
    border-radius: 5px;
}

#tnc_list::-webkit-scrollbar-thumb:hover{
    background: var(--color-ecl-dark);
}

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Style for the input wrapper (to position help icon and input together) */
.input-wrapper {
    position: relative;
}

/* Style for the help icon */
.help-icon {
    background-color: #00A2AD;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    top: -15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: .75rem;
    color: #fff;
    text-align: center;
}

/* Style for the help text */
.help-text {
    font-size: 0.8rem;
    color: #888;
    display: none;
    /* Hidden by default */
    position: absolute;
    width: 250px;
    height: fit-content;
    top: -15%;
    right: 10px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Show help text when hovering over the help icon */
.help-icon:hover+.help-text {
    display: block;
}

/* Display help text when user focuses or hovers over the input */
input[type="text"]:focus+.help-text,
input[type="text"]:hover+.help-text {
    display: block;
}

/* Style for the label
label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
} */

.bank-connection-message {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    padding: 0.5rem 1rem;
    color: rgb(0, 162, 173);
    background-color: #e8f2fc;
    border-radius: 6px;
    cursor: pointer;
    
    /* Transition effect */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bank-connection-message-show {
    opacity: 1;
    transform: translateY(0);
}

.bank_conected_message {
    color: #37c765;
    padding: .3rem .6rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: #e8f2fc;
    margin-bottom: .5rem;
    border-radius: .5rem;
}

#resend_verification_code{
    cursor: pointer;
}

#resend_verification_code:hover{
    text-decoration: underline;
}

.delete-button-container{
    color: red;
    border: 0px;
    /*width: 20px;*/
    /*height: 20px;*/
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    font-size: 1rem;
    position: absolute;
    right: 0;
    top: 0;
}

.card-btn-container{
    text-align: end;
}

.error-alert {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    background-color: #FF6B6B; /* Soft red color */
    color: white; /* White text for contrast */
    border-radius: 25px; /* Rounded corners for a smooth look */
    z-index: 999;
    max-width: 90%; /* Set max width */
    width: auto; /* Let it adapt to content size */
    padding: 15px 30px; /* Ample padding for more space */
    font-size: 16px; /* Adjust text size */
    font-family: 'Arial', sans-serif; /* Clean font */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    border: 2px solid #FF4C4C; /* Border to highlight the alert */
    animation: showError 0.5s ease-out forwards; /* Animation runs for 5 seconds */
    opacity: 0; /* Initially hidden */
}

@keyframes showError {
    0% {
        opacity: 1;
        top: 0px;
        transform: translateX(-50%) scale(0.8); /* Slightly smaller to begin with */
    }
    100% {
        opacity: 1;
        top: 10px;
        transform: translateX(-50%) scale(0.9); /* Slightly shrink before disappearing */
    }
}

/* Add an icon for better visual recognition (optional) */
.error-alert::before {
    content: "⚠️"; /* Warning icon */
    margin-right: 15px; /* Space between the icon and text */
    font-size: 20px; /* Larger icon */
}


.success-alert {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    background-color: #4CAF50; /* Green color for success */
    color: white; /* White text for contrast */
    border-radius: 25px; /* Rounded corners for a smooth look */
    z-index: 999;
    max-width: 90%; /* Set max width */
    width: auto; /* Let it adapt to content size */
    padding: 15px 30px; /* Ample padding for more space */
    font-size: 16px; /* Adjust text size */
    font-family: 'Arial', sans-serif; /* Clean font */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    border: 2px solid #388E3C; /* Border to highlight the success alert */
    animation: showSuccess 0.5s ease-out forwards; /* Animation runs for 5 seconds */
    opacity: 0; /* Initially hidden */
}

@keyframes showSuccess {
    0% {
        opacity: 1;
        top: 0px;
        transform: translateX(-50%) scale(0.8); /* Slightly smaller to begin with */
    }
    100% {
        opacity: 1;
        top: 10px;
        transform: translateX(-50%) scale(0.9); /* Slightly shrink before disappearing */
    }
}

/* Add a success icon for better visual recognition (optional) */
.success-alert::before {
    content: "✔️"; /* Success checkmark icon */
    margin-right: 15px; /* Space between the icon and text */
    font-size: 20px; /* Larger icon */
}

/* for blinking border */
@keyframes blink {
    0% {
        border-color: red;
    }
    50% {
        border-color: transparent;
    }
    100% {
        border-color: red;
    }
}

.blinking-border {
    animation: blink 1.5s;
    animation-iteration-count: 3;
}
