.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    border: 1px solid var(--border);
    background: var(--btn-bg);
    color: var(--btn-text);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Icon-only circular buttons */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    min-width: 40px;
}

/* Success State (Copy Button) */
.btn.success {
    background: #10b981 !important;
    border-color: #059669 !important;
    color: white !important;
}

/* Visibility classes */
#copy-btn, #header-clear-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: all 0.2s ease;
}

#copy-btn.visible, #header-clear-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
