html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


h1:focus {
    outline: none;
}

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

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: white !important;
    bottom: 0 ;
    display: none ;
    left: 0 ;
    padding: 0 !important;
    position: fixed ;
    width: 100%;
    height: 100%;
    z-index: 1000;
}



.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.bouncing-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.bouncing-loader-chat {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5rem;
}


.bouncing-loader > div {
    width: 1rem;
    height: 1rem;
    margin: 0.2rem;
    background: #3498db; /* Blue */
    border-radius: 50%;
    animation: bouncing 0.6s infinite alternate;
}
.bouncing-loader-chat > div {
    width: 0.3rem;
    height: 0.3rem;
    background: gray;
    border-radius: 50%;
    animation: bouncing-chat 0.6s infinite alternate;
}

.bouncing-loader > div:nth-child(2) {
    animation-delay: 0.2s;
}

.bouncing-loader > div:nth-child(3) {
    animation-delay: 0.4s;
}
.bouncing-loader-chat > div:nth-child(2) {
    animation-delay: 0.2s;
}

.bouncing-loader-chat > div:nth-child(3) {
    animation-delay: 0.4s;
}
.reaction-buttons {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1.2s ease-out forwards;
}
@keyframes bounceAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}
.bounce-delay-1 {
    animation: bounceAnimation 1 0.7s ease-in-out;
}

.bounce-delay-2 {
    animation: bounceAnimation 1 0.8s ease-in-out;
}

.bounce-delay-3 {
    animation: bounceAnimation 1 0.9s ease-in-out;
}

.bounce-delay-4 {
    animation: bounceAnimation 1 1s ease-in-out;
}
.bounce-delay-5 {
    animation: bounceAnimation 1 1.1s ease-in-out;
}
.bounce-delay-6 {
    animation: bounceAnimation 1 1.2s ease-in-out;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bouncing {
    to {
        transform: translateY(-1.5rem);
    }
}
@keyframes bouncing-chat {
    to {
        transform: translateY(-0.5rem);
    }
}

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
.page-enter {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.page-enter-from-right {
    animation-name: slideInFromRight;
}

.page-enter-from-left {
    animation-name: slideInFromLeft;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}