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

#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;
    }

.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: #5C6BC0;
            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");
    }

/* Chord Sheet Styles */
.chord-sheet {
    font-family: 'Courier New', Consolas, monospace;
    line-height: 1.2;
}

.chord-line-group {
    margin-bottom: 0.3rem;
}

.chord-line {
    color: #d63384;
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1.2;
}

.lyrics-line {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1.4;
}

.font-monospace {
    font-family: 'Courier New', Consolas, monospace !important;
}

/* Song Sections */
.chord-section {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #5C6BC0;
    margin-bottom: 0.3rem;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-highlighted {
    background-color: rgba(92, 107, 192, 0.1);
    border-left: 3px solid #5C6BC0;
}

.section-dimmed {
    opacity: 0.4;
}

/* Mobile Responsive */
@media (max-width: 599.98px) {
    .mud-main-content {
        overflow-x: hidden;
    }

    .chord-sheet {
        font-size: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-toolbar {
        flex-wrap: wrap;
        gap: 4px;
    }

    .mobile-toolbar .d-flex {
        flex-wrap: wrap;
    }

    .mud-card-header-actions {
        flex-wrap: wrap;
        gap: 2px;
    }

    .mud-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

