/* Teksti sisestusala */
.paste-textarea {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 200px;
}

/* Teksti sisu kuvamine */
.paste-content {
    background: var(--bg-secondary, #f5f5f5);
    color: var(--text-primary, #363636);
    border: 1px solid var(--border-color, #dbdbdb);
    border-radius: 6px;
    padding: 1.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    max-height: 70vh;
    overflow-y: auto;
}

/* Fondi valiku dropdown */
.font-option.is-active {
    background-color: var(--accent-color, #00d1b2);
    color: #fff;
}

/* Tekstide loendi elemendid */
.paste-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
    gap: 0.75rem;
}

.paste-list-item:last-child {
    border-bottom: none;
}

.paste-list-item.is-expired {
    opacity: 0.5;
}

.paste-info {
    flex: 1;
    min-width: 0;
}

.paste-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 300px;
}

.paste-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.paste-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .paste-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .paste-actions {
        align-self: flex-end;
        margin-top: 0.5rem;
    }

    .paste-title {
        max-width: 200px;
    }
}
