/* Top Pagination Bar - STARTS */
.fme-form-nav-view {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
}

.fme-page-bar {
    width: 100%;
    height: 4px;
    position: relative;
    background-color: var(--fme-pagination-viewer-inactive-color);
    border-radius: 1rem;
    transition: all 0.25s ease-in-out;
}

.fme-page-bar-filled {
    background-color: var(--fme-pagination-viewer-active-color);
}

.fme-page-bar-circ {
    position: absolute;
    background-color: var(--fme-pagination-viewer-circle-bg-color);
    border: 4px solid var(--fme-pagination-viewer-circle-border-color);
    width: 1rem;
    height: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}

/* Top Pagination Bar - ENDS */

/* FME FORM LOADER STYLE START */
#fme-form-loader-con {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.fme-form-loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-size: 0.9rem;
    animation: fme-form-anim-left 0.6s ease-out forwards;
}

.fme-loader {
    font-size: 1.2rem;
}

.fme-loader>span {
    font-size: 1.2rem;
}

.fme-form-loader .fme-loader span:nth-child(1) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 0s;
}

.fme-form-loader .fme-loader span:nth-child(2) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 0.2s;
}

.fme-form-loader .fme-loader span:nth-child(3) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 0.4s;
}

/* .fme-form-loader .fme-loader span:nth-child(4) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 0.6s;
}
.fme-form-loader .fme-loader span:nth-child(5) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 0.8s;
}
.fme-form-loader .fme-loader span:nth-child(6) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 1s;
}
.fme-form-loader .fme-loader span:nth-child(7) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 1.2s;
}
.fme-form-loader .fme-loader span:nth-child(8) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 1.4s;
}
.fme-form-loader .fme-loader span:nth-child(9) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 1.6s;
}
.fme-form-loader .fme-loader span:nth-child(10) {
    animation: fme-form-anim-dots 1.5s infinite ease-in-out;
    animation-delay: 1.8s;
} */


.fme-form-loader>div:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 50%;
    width: 100%;
    height: 140px;
}

.fme-form-loader>div:nth-child(1)>P {
    width: max-content;
    padding: 1rem;
    border-radius: 50%;
    animation: fme-form-anim-pad-zoom 0.6s ease-in-out 2 alternate-reverse;
}

/* Success - COLOR */
#fme-form-loader-success>div:nth-child(1)>P {
    background-color: rgb(180, 227, 128, 0.2);
}

#fme-form-loader-success p:last-child {
    background-color: #4bae4f;
}

/* Error - COLOR */
#fme-form-loader-error>div:nth-child(1)>p {
    background-color: rgb(255, 170, 170, 0.2);
}

#fme-form-loader-error p:last-child {
    background-color: #d32f2f;
}

#fme-form-loader-error>div:nth-child(1) img {
    border-radius: 50%;
}

.fme-form-loader p:last-child {
    text-align: center;
    padding: 0.65rem 0;
    background-color: #d32f2f;
    color: #fff !important;
    border: none;
    outline: none;
    cursor: pointer;
    width: 240px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-top: 1.2rem;
}

.fme-form-loader>h3 {
    color: #6C7A89;
    font-weight: 600;
    margin: 2.5rem 0 0.6rem 0;
}

.fme-form-loader>p:not(:nth-child(1)) {
    color: #ABB7B7;
    font-size: 0.85rem;
    line-height: 1.25rem;
}

#fme-form-loader-error,
#fme-form-loader-success {
    display: none;
}

@keyframes fme-form-anim-left {
    from {
        opacity: 0;
        margin-left: -100%;
    }

    to {
        opacity: 1;
        margin-left: 0px;
    }
}

@keyframes fme-form-anim-pad-zoom {
    from {
        padding: 0px;
    }

    to {
        padding: 1rem;
    }
}

@keyframes fme-form-anim-dots {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* FME FORM LOADER STYLE END */




/* Error Validation UI - START */
.fme-validation-error {
    font-size: 0.75rem;
    font-family: system-ui;
    text-transform: none !important;
    font-weight: 400;
    color: #C30E59;
}

.fme-error-border {
    border: 1px solid#C30E59;
    /* border-style: none; */
}

/* Error Validation UI - END */


/* Side Image and logo Desing CSS */
.fme-form-cover .fme-form-cover-flex {
    display: flex;
    /* flex-direction: row-reverse; */
    gap: 1rem;
}

.fme-form-cover #fme-side-image {
    display: none;
}

.fme-logo {
    /* padding: 0 0 1.5rem 0; */
    display: flex;
    justify-content: flex-start;
    justify-content: center;
}

.fme-logo-con {
    padding: 1rem 0 1.5rem 0;
}

.fme-logo-center {
    justify-content: center;
}

.fme-logo-left {
    justify-content: flex-start;
}

.fme-logo-right {
    justify-content: flex-end;
}

/* Side Image and logo Desing CSS */

/* Signature CSS - START */

/* FME Sign field */
.fme-signature {
    padding: 0 0 0.6rem 0;
}

.fme-signature-con {
    background-color: #ffffff;
    /* padding: 1rem; */
    border-radius: 5px;
    border: 1px solid #2d2d2d;
    width: 100%;
    /* height: 290px; */
}

.fme-signatureCanvas {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 5px;
    cursor: crosshair;
}

.fme-sign-btn-con>p {
    font-family: sans-serif;
    font-size: 0.76rem;
    background-color: #007bff;
    color: white;
    padding: 8px 14px;
    /* font-size: 16px; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fme-sign-btn-con>p:hover {
    background-color: #0056b3;
}

.fme-sign-btn-con {
    padding: 0.4rem 0.8rem;
    border-top: 2px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    align-items: center;
}

.fme-sign-message {
    width: 100%;
    font-size: 0.8rem;
    color: #ff5733;
    font-weight: 200;
    font-family: sans-serif;
}


.fme-sign-confirm {
    color: #77B254 !important;
}


.fme-disable-canvas {
    pointer-events: none !important;
    background-color: #eeeeeebd !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/* Signature CSS - END */

.radio-group {
    margin-top: 0.08rem;
    font-family: sans-serif !important;
    font-size: 0.7rem !important;
    color: tomato !important;
}

.radio-group>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    padding: 0.1rem 0;
}

.radio-group {
    margin-top: 0.08rem;
    font-family: sans-serif !important;
    font-size: 0.7rem !important;
    color: tomato !important;
}

.radio-group>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    padding: 0.1rem 0;
}

button:disabled {
    background-color: #e5e7eb;
    /* light gray */
    color: #9ca3af;
    /* muted text */
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

button:disabled:hover {
    background-color: #e5e7eb;
}