/* Smooth transitions */
.transition-all-300 {
    transition: all 0.3s ease-in-out;
}

/* Base styles for full height */
html,
body,
#app {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Remove default focus outlines that cause black borders */
*:focus {
    outline: none !important;
}

/* Transitions */
.transition-all {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Command Palette Active State */
#command-palette.active {
    display: flex;
}

/* Blazor loading indicator styles */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 0.6rem;
    stroke-dasharray: 400%;
    stroke-linecap: round;
    transform-origin: 50% 50%;
}

.loading-progress circle:last-child {
    stroke: #009B4D;
    stroke-dashoffset: 280%;
    animation: loading-progress 2s linear infinite;
}

@keyframes loading-progress {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-progress-text {
    position: relative;
    text-align: center;
    font-weight: bold;
    color: #475569;
}

.loading-progress-text:after {
    content: "Carregando PCI...";
}