
html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    padding-top: 60px;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensure full height */
}

main {
    flex: 1; /* pushes footer to bottom */
}

.btn-primary {
    color: #062101;
    background-color: #f8c013;
    border-color: #f8c013;
}

    .btn-primary:hover {
        color: #ffff;
        background-color: #196103;
        border-color: #196103;
    }

.form-field {
    display: inline !important;
    width: 60px !important;
}
/*Line Separtors*/

.section-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: #333; /* Optional: text color */
    font-weight: bold; /* Optional: style */
}

    .section-divider::before,
    .section-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #ccc;
    }

    .section-divider::before {
        margin-right: 0.75em;
    }

    .section-divider::after {
        margin-left: 0.75em;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    border: 1px solid #26b050 !important;
}

.invalid {
    /*outline: 1px solid red;*/
    border: 1px solid red !important;
}

.validation-message {
    color: red;
    text-align: left;
    font-size: .875em;
    margin-top: 0.25rem;
}

    .validation-message::before {
        content: url('../images/error.svg');
        position: relative;
        top: 3px;
        margin-right: 2px;
    }

#blazor-error-ui {
    background: white;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92Z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uODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/*SUCCESS PAGE*/

body {
    background-color: #e6e6e6;
    width: 100%;
    height: 100%;
}

#success_tic .page-body {
    max-width: 300px;
    background-color: #FFFFFF;
    margin: 10% auto;
}

    #success_tic .page-body .head {
        text-align: center;
    }
/* #success_tic .tic{
  font-size:186px;
} */
#success_tic .close {
    opacity: 1;
    position: absolute;
    right: 0px;
    font-size: 30px;
    padding: 3px 15px;
    margin-bottom: 10px;
}

#success_tic .checkmark-circle {
    width: 150px;
    height: 150px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.checkmark-circle .background {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #018c01;
    position: absolute;
}

#success_tic .checkmark-circle .checkmark {
    border-radius: 5px;
}

    #success_tic .checkmark-circle .checkmark.draw:after {
        -webkit-animation-delay: 300ms;
        -moz-animation-delay: 300ms;
        animation-delay: 300ms;
        -webkit-animation-duration: 1s;
        -moz-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-timing-function: ease;
        -moz-animation-timing-function: ease;
        animation-timing-function: ease;
        -webkit-animation-name: checkmark;
        -moz-animation-name: checkmark;
        animation-name: checkmark;
        -webkit-transform: scaleX(-1) rotate(135deg);
        -moz-transform: scaleX(-1) rotate(135deg);
        -ms-transform: scaleX(-1) rotate(135deg);
        -o-transform: scaleX(-1) rotate(135deg);
        transform: scaleX(-1) rotate(135deg);
        -webkit-animation-fill-mode: forwards;
        -moz-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    #success_tic .checkmark-circle .checkmark:after {
        opacity: 1;
        height: 75px;
        width: 37.5px;
        -webkit-transform-origin: left top;
        -moz-transform-origin: left top;
        -ms-transform-origin: left top;
        -o-transform-origin: left top;
        transform-origin: left top;
        border-right: 15px solid #fff;
        border-top: 15px solid #fff;
        border-radius: 2.5px !important;
        content: '';
        left: 35px;
        top: 80px;
        position: absolute;
    }

@-webkit-keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 37.5px;
        opacity: 1;
    }

    40% {
        height: 75px;
        width: 37.5px;
        opacity: 1;
    }

    100% {
        height: 75px;
        width: 37.5px;
        opacity: 1;
    }
}

@-moz-keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 37.5px;
        opacity: 1;
    }

    40% {
        height: 75px;
        width: 37.5px;
        opacity: 1;
    }

    100% {
        height: 75px;
        width: 37.5px;
        opacity: 1;
    }
}

@keyframes checkmark {
    0% {
        height: 0;
        width: 0;
        opacity: 1;
    }

    20% {
        height: 0;
        width: 37.5px;
        opacity: 1;
    }

    40% {
        height: 75px;
        width: 37.5px;
        opacity: 1;
    }

    100% {
        height: 75px;
        width: 37.5px;
        opacity: 1;
    }
}
/* Red Decline */
#error_tic .xmark-circle {
    width: 150px;
    height: 150px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.xmark-circle .background {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #d9534f; /* red */
    position: absolute;
}

/* X Mark */
#error_tic .xmark-circle .xmark {
    position: relative;
    width: 150px;
    height: 150px;
}

    #error_tic .xmark-circle .xmark.draw:before,
    #error_tic .xmark-circle .xmark.draw:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 90px;
        height: 15px;
        background: #fff;
        border-radius: 5px;
        transform-origin: center;
        opacity: 0;
        animation: xmark 0.8s ease forwards;
    }

    /* Left Diagonal */
    #error_tic .xmark-circle .xmark.draw:before {
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
        animation-delay: 0.2s;
    }

    /* Right Diagonal */
    #error_tic .xmark-circle .xmark.draw:after {
        transform: translate(-50%, -50%) rotate(-45deg) scale(0);
        animation-delay: 0.4s;
    }

/* Animation */
@keyframes xmark {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(var(--angle, 0deg));
        opacity: 0;
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1) rotate(var(--angle, 0deg));
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(var(--angle, 0deg));
    }
}

.paper-container {
    position: relative;
    width: 500px; /* adjust as needed */
    margin: 0 auto;
}

.paper-image {
    width: 100%;
    height: auto;
    display: block;
}

.paper-text {
    position: absolute;
    top: 120px; /* adjust vertical placement */
    left: 125px; /* adjust horizontal placement */
    width: 50%; /* keep text within paper edges */
    color: #222;
    font-family: 'Georgia', serif;
    line-height: 2.9;
}
/* Green Money circle */
#money_tic .money-circle {
    width: 150px;
    height: 150px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.money-circle .background {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #28a745; /* green */
    position: absolute;
}

/* Dollar Sign Styling */
#money_tic .money-circle .dollar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 80px;
    color: #fff;
    font-weight: 700;
    opacity: 0;
    animation: popIn 0.8s ease-out forwards;
}

    /* Optional: only animate when class "draw" is added */
    #money_tic .money-circle .dollar.draw {
        animation-delay: 0.3s;
    }

/* Animation */
@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
/*Loader*/
.race-by {
    --uib-size: 30%;
    --uib-speed: 1.4s;
    --uib-color: black;
    --uib-line-weight: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--uib-line-weight);
    width: var(--uib-size);
    border-radius: calc(var(--uib-line-weight) / 2);
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

    .race-by::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: var(--uib-color);
        opacity: 0.1;
    }

    .race-by::after {
        content: '';
        height: 100%;
        width: 100%;
        border-radius: calc(var(--uib-line-weight) / 2);
        animation: raceBy var(--uib-speed) ease-in-out infinite;
        transform: translateX(-100%);
        background-color: var(--uib-color);
    }

@keyframes raceBy {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}



/*SPINNING LOADER*/
.ring {
    --uib-size: 40px;
    --uib-speed: 2s;
    --uib-color: black;
    height: var(--uib-size);
    width: var(--uib-size);
    vertical-align: middle;
    transform-origin: center;
    animation: rotate var(--uib-speed) linear infinite;
}

    .ring circle {
        fill: none;
        stroke: var(--uib-color);
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
        stroke-linecap: round;
        animation: stretch calc(var(--uib-speed) * 0.75) ease-in-out infinite;
    }

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes stretch {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -124px;
    }
}

.slide-up {
    animation: slideUp 0.9s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(70px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/*Footer*/
.credit a {
    color: #238505;
    text-decoration: none; /* remove underline */
    transition: color 0.3s; /* smooth hover effect */
}

    .credit a:hover {
        color: #134a02; /* hover color (green in this case) */
    }

.lean {
    font-weight: 300;
}

.input-group {
    margin-bottom: 2em;
}

    .input-group .main {
        position: relative;
        margin-top: 1em;
    }

        .input-group .main img {
            position: absolute;
        }

            .input-group .main img.leading-icon {
                left: 0;
                height: 2em;
                top: 50%;
                transform: translate(0, -50%);
                left: 1.2em;
            }

            .input-group .main img.trailing-icon {
                right: 0;
                height: 1.5em;
                top: 50%;
                transform: translate(0, -50%);
                right: 1.5em;
            }

        .input-group .main input {
            border: 2px solid rgba(224, 224, 224, 0.5);
            width: 100%;
            padding: 1em 4em 1em 4em;
            font-size: 1.2em;
            font-weight: 600;
            border-radius: 6px;
            background: linear-gradient(45deg, #f5f8ff, transparent);
            color: #05365c;
        }

            .input-group .main input:focus {
                outline-color: #0077B6;
            }

            .input-group .main input::placeholder {
                font-weight: 400;
                opacity: 0.5;
            }

    .input-group.__col {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: initial;
    }

        .input-group.__col .grp {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-direction: initial;
            width: 400px;
            position: relative;
        }

            .input-group.__col .grp .divider {
                display: block;
                font-size: 1.5em;
                font-weight: 500;
                color: #05365c;
                position: absolute;
                left: 50%;
                transform: translate(-50%, 0);
            }

        .input-group.__col .main {
            margin-top: 0;
            width: 400px;
        }

            .input-group.__col .main input {
                padding-right: 0;
                padding-left: 0;
                text-align: center;
                background: none;
            }

                .input-group.__col .main input:focus {
                    background: rgba(0, 119, 182, 0.05);
                }

                .input-group.__col .main input[type=password] {
                    text-align: left;
                    padding-left: 1.5em;
                    letter-spacing: 0.3em;
                }

            .input-group.__col .main .trailing-icon {
                opacity: 0.35;
            }

            .input-group.__col .main.__date {
                width: 42%;
            }
