/* Move transcript buttons to top right next to timestamp */

/* Hide buttons in the wrong location (inside transcript-text) */
.transcript-text .transcript-entry-actions {
    display: none !important;
}

/* Position buttons in the header */
.transcript-speaker {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

.transcript-speaker .transcript-timestamp {
    margin-left: auto !important;
    margin-right: 8px !important;
}

/* Add buttons after timestamp */
.transcript-speaker .transcript-entry-actions {
    display: inline-flex !important;
    gap: 4px !important;
    margin-left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure buttons are small and simple */
.transcript-speaker .transcript-entry-action-btn {
    all: unset !important;
    cursor: pointer !important;
    color: #9CA3AF !important;
    font-size: 12px !important;
    padding: 2px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
}

.transcript-speaker .transcript-entry-action-btn i {
    font-size: 12px !important;
    line-height: 1 !important;
}

.transcript-speaker .transcript-entry-action-btn:hover {
    color: #3B82F6 !important;
}