body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #18181b;
}

::-webkit-scrollbar-thumb {
    background: #52525b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #71717a;
}

/* Spinner de Carregamento */
.ai-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #3f3f46;
    /* zinc-700 */
    border-top-color: #60a5fa;
    /* blue-400 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ESTILOS DA TELA DE DETALHES DO ÁLBUM */
#album-detail-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

#album-track-list .track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    gap: 1rem;
}

#album-track-list .track-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.track-item .track-info-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.track-item .track-number {
    color: #a1a1aa;
    width: 1.5rem;
    text-align: right;
    font-size: 0.875rem;
}

.track-item .track-details {
    flex: 1;
    min-width: 0;
}

.track-item .track-title {
    color: #f4f4f5;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item .track-artist {
    color: #a1a1aa;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-item .track-duration {
    color: #a1a1aa;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ESTILOS DO EDITOR DE LETRAS */
.pill-button {
    background: transparent;
    border: none;
    padding: 0.5rem 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: #a1a1aa;
    transition: color 0.2s ease-in-out;
    border-bottom: 2px solid transparent;
}

.pill-button:hover {
    color: #ffffff;
}

.pill-button.active {
    color: #ffffff;
    font-weight: 700;
    border-bottom-color: #60a5fa;
}

#lrc-viewer p {
    padding: 8px 0;
    font-size: 1.25rem;
    color: #a1a1aa;
    transition: all 0.3s ease-in-out;
    opacity: 0.7;
    line-height: 1.8;
    cursor: pointer;
}

#lrc-viewer p:hover {
    color: #e4e4e7;
}

#lrc-viewer p.active-line {
    font-weight: bold;
    font-size: 1.5rem;
    /* Reduzido para melhor encaixe em mobile */
    color: #ffffff;
    opacity: 1;
    transform: scale(1.05);
}

.lyric-line-edit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out;
}

.lyric-line-edit.active-edit-line {
    background-color: rgba(96, 165, 250, 0.1);
}

.timestamp-input {
    font-family: monospace;
    color: #a1a1aa;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 6px;
    width: 85px;
    text-align: center;
    transition: all 0.2s;
}

.timestamp-input:hover {
    border-color: #52525b;
}

.timestamp-input:focus {
    outline: none;
    color: #e4e4e7;
    border-color: #3b82f6;
}

.lyric-input {
    flex-grow: 1;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #52525b;
    color: #e4e4e7;
    font-size: 1rem;
    padding: 4px 8px;
    transition: border-color 0.2s;
}

.lyric-input:focus {
    outline: none;
    border-bottom-color: #3b82f6;
}

.line-action-button {
    background-color: transparent;
    border: none;
    padding: 4px;
    border-radius: 9999px;
    color: #71717a;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.line-action-button:hover {
    background-color: #3f3f46;
    color: #e4e4e7;
}

.line-action-button svg {
    width: 1rem;
    height: 1rem;
}