html, body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
}

h1:focus { outline: none; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.view-section { display: none; animation: fadeIn 0.3s ease-in-out; }
.view-section.active { display: flex !important; }

.animate-fade-in { animation: fadeIn 0.3s ease-in-out; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-enter { transform: translateY(100%); opacity: 0; }
.modal-enter-active {
    transform: translateY(0); opacity: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-exit {
    transform: translateY(100%); opacity: 0;
    transition: all 0.2s ease-in;
}

@media (min-width: 768px) {
    .modal-enter { transform: scale(0.95); opacity: 0; }
    .modal-enter-active { transform: scale(1); opacity: 1; }
    .modal-exit { transform: scale(0.95); opacity: 0; }
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
}

.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: #4f46e5;
    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, "Carregando");
}
