/* Styles for ChordSheetJS HtmlDivFormatter output.
   ChordPreview.razor wraps the rendered sheet in a .chord-preview element.
   Inherits text color from the MudBlazor theme so it works in light/dark mode. */

.chord-preview .chord-sheet {
    font-family: 'Courier New', Consolas, monospace;
    line-height: 1.3;
}

.chord-preview .paragraph {
    padding-bottom: 12px;
}

.chord-preview .verse,
.chord-preview .chorus,
.chord-preview .bridge {
    padding-bottom: 12px;
}

.chord-preview .row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.chord-preview .column {
    display: grid;
    grid-template-rows: 1.3em auto;
    padding: 0;
    margin: 0;
}

.chord-preview .chord {
    grid-row: 1;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1.3em;
    padding-right: 0.5ch;
    color: var(--mud-palette-primary, #005A9E);
}

.chord-preview .lyrics {
    grid-row: 2;
    font-weight: normal;
    white-space: pre;
    line-height: 1.3em;
}

.chord-preview .comment {
    font-style: italic;
    opacity: 0.75;
    padding: 4px 0;
}

.chord-preview .chord-parse-error {
    color: var(--mud-palette-error, #C62828);
    white-space: pre-wrap;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.85em;
}

@media (max-width: 600px) {
    .chord-preview .chord-sheet {
        font-size: 0.85em;
    }
}

/* SongImportDialog drop zone — visible drop target wrapping a full-cover InputFile. */
.song-import-dropzone {
    position: relative;
    border: 2px dashed var(--mud-palette-lines-default, #606060);
    border-radius: 8px;
    padding: 32px 16px;
    text-align: center;
    transition: border-color 0.15s, background-color 0.15s;
    cursor: pointer;
}

.song-import-dropzone:hover,
.song-import-dropzone.drag-over {
    border-color: var(--mud-palette-primary, #005A9E);
    background-color: rgba(0, 90, 158, 0.08);
}

.song-import-dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
