﻿#blazor-error-ui {
    background: lightyellow;
    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;
}

/* Radzen component tweaks*/
.rz-switch {
    height: 1.5rem !important;
    width: 2.75rem !important;
}

.rz-switch .rz-switch-circle:before {
    height: 1.1rem !important;
    width: 1.1rem !important;
    margin-top: -0.55rem !important;
}

.rz-switch.rz-switch-checked .rz-switch-circle:before {
    transform: translateX(1.2rem) !important;
}

.rz-pill-grey {
    background-color: darkgrey !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 4px;
    padding: 4px;
}

.clickable {
    cursor: pointer;
}

.rating-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    --star-background: #FFC107;
    --star-color: lightgrey;
    --star-size: 30px;
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
}

    .rating-stars::before {
        content: '★★★★★';
        letter-spacing: 3px;
        background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.opacity-zerow-full {
    opacity: 0
}

.mobileMenuShow{
    animation: slide-in 0.5s forwards;
    -webkit-animation: slide-in 0.5s forwards;   
}
.mobileMenuHide{
    display: none;
}

@keyframes slide-in {
    0% {
      -webkit-transform: translateX(100%);
    }
    100% {
      -webkit-transform: translateX(0%);
    }
}
  
@-webkit-keyframes slide-in {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(0%);
    }
}

.top-44{
    top: 44%
}

.h-fit{
    height: fit-content;
}

.rz-dialog{
    width: 440px !important;
}

@media (max-width: 768px) {
    .rz-dialog:not(.rz-confirmdialog) {
        width: 61% !important;
        top: 28% !important;
    }
}

@media (max-width: 639px){
    .rz-dialog:not(.rz-confirmdialog) {
        width: 84vw !important;
        top: 28% !important;
    }
}


.flippedImg{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
