body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

header {
    height: 65px;
    display: flex;
    /* justify-content: flex-end; */
    align-items: center;
    padding: 10px;
    background-color: white;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

header img {
    max-width: 75px;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    flex: 1;
    padding: 20px;
    /* width: 100%; */
}

h1.title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 40px;
}

h2.sub-title {
    color: gray;
}

.container {
    width: 100%;
    max-width: 600px;
    background-color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h2 {
    text-align: center;
}

.container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#consent-error {
    color: red;
}

/* -------- login page ----------*/

#loginForm {
    position: relative;

    p {
        color: red;
    }

    button {
        margin-top: 20px;
    }

    small {
        color: red;
        position: absolute;
        bottom: 47px;
    }
}

/* -------- otp page ----------- */
.container.otp {
    height: 278px;
    display: flex;
    flex-direction: column;

    p {
        color: red;
    }
}

.container.otp form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.container.otp form small {
    margin-bottom: -30px;
    color: #005e9e;
    cursor: pointer;
    font-weight: bold;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.otp-container input {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    padding: 8px 12px;
}

#resendOtp {
    margin-left: auto;

    button {
        margin-top: 20px
    }
}

.otpMessage {
    display: flex;
    justify-content: space-between;
}

/* ------- otp page end --------- */
.disclaimer {
    padding: 10px 0;

    ol {
        list-style-type: decimal;
        margin-left: 20px;
    }

    li {
        font-size: 0.9em;
        color: gray;
    }
}

.consent {
    font-size: 0.9em;
    color: gray;
}

#consentCheckbox {
    display: inline;
    width: auto;
}

#consentForm button {
    margin-top: 20px;
}

#error {
    color: red;
    display: none;
}

.customer-details {
    margin-top: 20px;
}

.customer-details li {
    color: rgb(65, 63, 63);
    margin-bottom: 10px;
    /* display: flex; */
    /* justify-content: space-between; */
}

.customer-details li span {
    color: #005e9e;
    font-weight: bold;
    margin-left: 2%;
}

/* ------ Success ------- */

.animation-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container.success {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.container.success p {
    color: gray;
}

#details {
    margin-top: 30px
}

/* ------- Success End ------ */

/* ------ Footer --------- */

footer {
    background-color: white;
    padding: 6px 12px;
    text-align: center;
    color: gray;
}

/* ------- Footer End ------ */

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

.success-animation {
    margin-bottom: 30px;
}

.checkmark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
    top: 5px;
    right: 5px;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: rgb(240, 241, 241);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

/* -=====animation end==== */