html, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#app {
    /*background-image: url('/images/background.jpg');*/

}

.backgroundImage {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
}

.containerLogin{
    height: 100%;
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
    padding: 4rem;
    padding-top: 6rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    height: 26rem;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.logo {
    position: absolute;
    top: 0px; 
    left: 5px;  
    z-index: 10; 
}

.cesta {
    position: absolute;
    bottom: 0;
    right: 5px;
    width: 7rem;
    z-index: 10;
}

.card span:nth-child(3) {
    font-weight: bold;
    font-size: 2rem;
}

.card > p {
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}

.cardLogin {
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    backdrop-filter: blur(10px);
    border-bottom-right-radius: 12px;
    border-top-right-radius: 12px;
    padding: 4rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    height: 26rem;
}

.cardLogin>span{
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    top: 2rem;
}

.cardLoginFooter{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.cardRegister {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 5rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/** LOADER **/

.containerLoader {
    background: rgba(0, 0, 0, 0.5); 
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center; 
    z-index: 1000; 
}

.loader {
    width: 48px;
    overflow: visible;
    transform: rotate(-90deg);
    transform-origin: center;
    --active: #7627a3;
    --track: #f2d4fe;
    --duration: 8s;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        rotate: 0deg;
    }

    100% {
        rotate: 360deg;
    }
}

.active {
    stroke: var(--active);
    stroke-linecap: round;
    stroke-dashoffset: 360;
    animation: active-animation var(--duration) ease-in-out infinite;
}

@keyframes active-animation {
    0% {
        stroke-dasharray: 0 0 0 360 0 360;
    }

    12.5% {
        stroke-dasharray: 0 0 270 90 270 90;
    }

    25% {
        stroke-dasharray: 0 270 0 360 0 360;
    }

    37.5% {
        stroke-dasharray: 0 270 270 90 270 90;
    }

    50% {
        stroke-dasharray: 0 540 0 360 0 360;
    }

    50.001% {
        stroke-dasharray: 0 180 0 360 0 360;
    }

    62.5% {
        stroke-dasharray: 0 180 270 90 270 90;
    }

    75% {
        stroke-dasharray: 0 450 0 360 0 360;
    }

    87.5% {
        stroke-dasharray: 0 450 270 90 270 90;
    }

    87.501% {
        stroke-dasharray: 0 90 270 90 270 90;
    }

    100% {
        stroke-dasharray: 0 360 1 360 0 360;
    }
}

.track {
    stroke: var(--track);
    stroke-linecap: round;
    stroke-dashoffset: 360;
    animation: track-animation var(--duration) ease-in-out infinite;
}

@keyframes track-animation {
    0% {
        stroke-dasharray: 0 20 320 40 320 40;
    }

    12.5% {
        stroke-dasharray: 0 290 50 310 50 310;
    }

    25% {
        stroke-dasharray: 0 290 320 40 320 40;
    }

    37.5% {
        stroke-dasharray: 0 560 50 310 50 310;
    }

    37.501% {
        stroke-dasharray: 0 200 50 310 50 310;
    }

    50% {
        stroke-dasharray: 0 200 320 40 320 40;
    }

    62.5% {
        stroke-dasharray: 0 470 50 310 50 310;
    }

    62.501% {
        stroke-dasharray: 0 110 50 310 50 310;
    }

    75% {
        stroke-dasharray: 0 110 320 40 320 40;
    }

    87.5% {
        stroke-dasharray: 0 380 50 310 50 310;
    }

    100% {
        stroke-dasharray: 0 380 320 40 320 40;
    }
}


/** Fim Loader **/


@media (max-width: 700px) {

    .containerLogin{
        height: 0px;
        padding: 0px;
    }

    .cardLogin {
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 12px;
        padding: 2rem;
        padding-top: 5rem;
        min-height: 26rem;
        height: auto;
    }

    .card {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        border-top-right-radius: 12px;
        min-height: 26rem;
        height: auto;
        padding-left: 1.8rem;
        padding-right: 1.8rem;
    }

    .cardRegister{
        padding: 2rem;
    }
}

.rz-form-field input:valid:not(:focus) + .rz-form-field-label,
.rz-form-field input:disabled:valid + .rz-form-field-label,
.rz-form-field input:disabled + .rz-form-field-label,
.rz-form-field-label rz-text-truncate {
    color: #0c0b0b !important;
}


.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, "Carregando");
    }



/* From Uiverse.io by Akshdeep74644 */

.appContainerLoader {
    background: #FFF;
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.appLoader {
    position: relative;
}

.box-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 150px;
    width: 150px;
    background-color: #FFFFFF;
    background-image: linear-gradient(135deg, #FFFFFF 0%, #6284FF 34%, #FF0000 100%);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.box-1::before {
    content: '';
    position: absolute;
    inset: 15px;
    background: #f5f5f5;
    border-radius: 50%;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}

.appLoader span {
    text-align: center;
    position: absolute;
    top: 65px;
    left: 55px;
    color: black;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 1.1rem;
    animation: text-animate412 3s linear infinite;
}

    .appLoader span:after {
        content: var(--blazor-load-percentage-text);
    }

@keyframes text-animate412 {

    10% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* Modal */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
    overflow: hidden;
}

.modal-content {
    background: white;
    width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.modal-backdrop.show {
    display: flex;
    opacity: 1;
}

.modal-content.show {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    padding: 16px;
}

.modal-footer {
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #ddd;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cancel {
    background: #f5f5f5;
}

.confirm {
    background: #1677ff;
    color: white;
}
